diff options
author | Mike Stump <mrs@apple.com> | 2009-02-21 20:07:44 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-02-21 20:07:44 +0000 |
commit | d6840002c37ba25effe5eb4bb89c4ae2e1d80945 (patch) | |
tree | f8a84d383b2d3b9bad216ce870186b0c17058408 /lib/CodeGen/CGBlocks.cpp | |
parent | 4e7a1f7682d94811bd41fca8aefccc38f686db23 (diff) |
The blocks ABI is wrong, add a FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
-rw-r--r-- | lib/CodeGen/CGBlocks.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CGBlocks.cpp b/lib/CodeGen/CGBlocks.cpp index d4e72acda0..60bf73f0b4 100644 --- a/lib/CodeGen/CGBlocks.cpp +++ b/lib/CodeGen/CGBlocks.cpp @@ -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); |