aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-02-13 15:25:34 +0000
committerMike Stump <mrs@apple.com>2009-02-13 15:25:34 +0000
commit9b8a7977109604d573b49d517e98badbbb9d5ac7 (patch)
treea2a60b7e3a381ba96ae683e6c2b36d05b6919dba /lib/CodeGen/CodeGenModule.h
parentab695143861b520f5c9f8f982534a71d355396f1 (diff)
Move GenericBlockLiteralType into CGM.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index c484264e3d..eb9ce7dfed 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -128,6 +128,7 @@ class CodeGenModule {
llvm::Constant *NSConcreteGlobalBlock;
const llvm::Type *BlockDescriptorType;
+ const llvm::Type * GenericBlockLiteralType;
std::vector<llvm::Function *> BuiltinFunctions;
public:
@@ -142,6 +143,8 @@ public:
const llvm::Type *getBlockDescriptorType();
+ const llvm::Type *getGenericBlockLiteralType();
+
/// getObjCRuntime() - Return a reference to the configured
/// Objective-C runtime.
CGObjCRuntime &getObjCRuntime() {