diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-09 06:44:21 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-09 06:44:21 +0000 |
commit | 2169a75a0aa67dec2424ebf1aaa5be3f8a9c2050 (patch) | |
tree | ee5cb373bc0c769b51b68ffe077756b85ae8f5a7 /clang/lib/CodeGen/CodeGenModule.h | |
parent | e74bc0ef4c4b3149c53ae35b5b3ad7fbb1a385c5 (diff) | |
download | bcm5719-llvm-2169a75a0aa67dec2424ebf1aaa5be3f8a9c2050.tar.gz bcm5719-llvm-2169a75a0aa67dec2424ebf1aaa5be3f8a9c2050.zip |
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.
llvm-svn: 139359
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 53c29002f96..3e5de655aba 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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; |