diff options
author | Mike Stump <mrs@apple.com> | 2009-02-13 15:16:56 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-02-13 15:16:56 +0000 |
commit | ab695143861b520f5c9f8f982534a71d355396f1 (patch) | |
tree | a04692348a24659fb1bd91597f7d0a1ac964643b /lib/CodeGen/CodeGenModule.h | |
parent | dae4413d77b3e7599ce81307eb7a7d1dedbac547 (diff) |
Move BlockDescriptorType into CGM.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index d8719efabf..c484264e3d 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -123,10 +123,12 @@ class CodeGenModule { /// 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 @@ public: /// Release - Finalize LLVM code generation. void Release(); + const llvm::Type *getBlockDescriptorType(); + /// getObjCRuntime() - Return a reference to the configured /// Objective-C runtime. CGObjCRuntime &getObjCRuntime() { |