Turn on the preallocation of all BlockDeclRefExprs.
llvm-svn: 84789
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp
index 08c4587..26b19e5 100644
--- a/clang/lib/CodeGen/CGBlocks.cpp
+++ b/clang/lib/CodeGen/CGBlocks.cpp
@@ -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