From ead363bdd2756efa945108941ab46bbde3bd8bdf Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Fri, 9 Sep 2011 06:44:21 +0000 Subject: Do a lookup for the blocks runtime globals to see if they were declared, instead of codegen waiting to consume such a declaration, which won't happen if that decls are coming from a PCH. Fixes rdar://10028656. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139359 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.h') diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 53c29002f9..3e5de655ab 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -314,13 +314,9 @@ class CodeGenModule : public CodeGenTypeCache { /// @name Cache for Blocks Runtime Globals /// @{ - const VarDecl *NSConcreteGlobalBlockDecl; - const VarDecl *NSConcreteStackBlockDecl; llvm::Constant *NSConcreteGlobalBlock; llvm::Constant *NSConcreteStackBlock; - const FunctionDecl *BlockObjectAssignDecl; - const FunctionDecl *BlockObjectDisposeDecl; llvm::Constant *BlockObjectAssign; llvm::Constant *BlockObjectDispose; -- cgit v1.2.3-18-g5258