Move BlockDescriptorType into CGM.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64451 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index d8719ef..c484264 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -123,10 +123,12 @@
/// Obj-C class pointer.
llvm::Constant *CFConstantStringClassRef;
- /// NSConcreteGlobalBlock - Cached reference to the clas pointer for
+ /// NSConcreteGlobalBlock - Cached reference to the class pointer for
/// global blocks.
llvm::Constant *NSConcreteGlobalBlock;
+ const llvm::Type *BlockDescriptorType;
+
std::vector<llvm::Function *> BuiltinFunctions;
public:
CodeGenModule(ASTContext &C, const LangOptions &Features, llvm::Module &M,
@@ -138,6 +140,8 @@
/// Release - Finalize LLVM code generation.
void Release();
+ const llvm::Type *getBlockDescriptorType();
+
/// getObjCRuntime() - Return a reference to the configured
/// Objective-C runtime.
CGObjCRuntime &getObjCRuntime() {