diff options
author | Mike Stump <mrs@apple.com> | 2009-10-21 22:02:08 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-10-21 22:02:08 +0000 |
commit | 0298d3888bcc666e7bd902de9b8497f53ccd1b3d (patch) | |
tree | b206b1f65252c64833d232f1e4300d6ed4b3406b /lib | |
parent | 652371ad0427b2310ff01ea22fdc37f02d19abe8 (diff) |
Turn on the preallocation of all BlockDeclRefExprs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/CGBlocks.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/CGBlocks.cpp b/lib/CodeGen/CGBlocks.cpp index 08c45874a3..26b19e56bc 100644 --- a/lib/CodeGen/CGBlocks.cpp +++ b/lib/CodeGen/CGBlocks.cpp @@ -678,9 +678,7 @@ CodeGenFunction::GenerateBlockFunction(const BlockExpr *BExpr, 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 |