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 | 2ac40a9ff8b6480a1d299e7aee9b093eff982d27 (patch) | |
| tree | 2749ffef8a92000ee40ee1ca175caf40c8171551 | |
| parent | cb2fbcb0c929df88fa147f5464384c7b02588ad4 (diff) | |
| download | bcm5719-llvm-2ac40a9ff8b6480a1d299e7aee9b093eff982d27.tar.gz bcm5719-llvm-2ac40a9ff8b6480a1d299e7aee9b093eff982d27.zip | |
The blocks ABI is wrong, add a FIXME.
llvm-svn: 65243
| -rw-r--r-- | clang/lib/CodeGen/CGBlocks.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp index d4e72acda01..60bf73f0b41 100644 --- a/clang/lib/CodeGen/CGBlocks.cpp +++ b/clang/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); |

