[cfe-commits] r84789 - /cfe/trunk/lib/CodeGen/CGBlocks.cpp

Mike Stump mrs at apple.com
Wed Oct 21 15:02:08 PDT 2009


Author: mrs
Date: Wed Oct 21 17:02:08 2009
New Revision: 84789

URL: http://llvm.org/viewvc/llvm-project?rev=84789&view=rev
Log:
Turn on the preallocation of all BlockDeclRefExprs.

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=84789&r1=84788&r2=84789&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGBlocks.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBlocks.cpp Wed Oct 21 17:02:08 2009
@@ -678,9 +678,7 @@
   IdentifierInfo *II = &CGM.getContext().Idents.get(".block_descriptor");
 
   // Allocate all BlockDeclRefDecls, so we can calculate the right ParmTy below.
-  // FIXME: Resolve testsuite problems, then enable.
-  if (0)
-    AllocateAllBlockDeclRefs(Info, this);
+  AllocateAllBlockDeclRefs(Info, this);
 
   QualType ParmTy = getContext().getBlockParmType(BlockDeclRefDecls);
   // FIXME: This leaks





More information about the cfe-commits mailing list