The blocks ABI is wrong, add a FIXME.

llvm-svn: 65243
This commit is contained in:
Mike Stump 2009-02-21 20:07:44 +00:00
parent cb2fbcb0c9
commit 2ac40a9ff8
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ llvm::Constant *CodeGenFunction::BuildDescriptorBlockDecl(uint64_t Size) {
Elts.push_back(C);
// Size
// FIXME: What is the right way to say this doesn't fit? We should give
// a user diagnostic in that case. Better fix would be to change the
// API to size_t.
C = llvm::ConstantInt::get(UnsignedLongTy, Size);
Elts.push_back(C);