[cfe-commits] r65243 - /cfe/trunk/lib/CodeGen/CGBlocks.cpp
Mike Stump
mrs at apple.com
Sat Feb 21 12:07:44 PST 2009
Author: mrs
Date: Sat Feb 21 14:07:44 2009
New Revision: 65243
URL: http://llvm.org/viewvc/llvm-project?rev=65243&view=rev
Log:
The blocks ABI is wrong, add a FIXME.
Modified:
cfe/trunk/lib/CodeGen/CGBlocks.cpp
Modified: cfe/trunk/lib/CodeGen/CGBlocks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBlocks.cpp?rev=65243&r1=65242&r2=65243&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBlocks.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBlocks.cpp Sat Feb 21 14:07:44 2009
@@ -43,6 +43,9 @@
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);
More information about the cfe-commits
mailing list