зеркало из https://github.com/microsoft/clang-1.git
Turn on the preallocation of all BlockDeclRefExprs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84789 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
652371ad04
Коммит
0298d3888b
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче