diff options
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r-- | clang/lib/CodeGen/CGBlocks.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h index f58831423ef..6c3ca748b9d 100644 --- a/clang/lib/CodeGen/CGBlocks.h +++ b/clang/lib/CodeGen/CGBlocks.h @@ -117,6 +117,14 @@ public: BLOCK_BYREF_CALLER = 128 /* called from __block (byref) copy/dispose support routines */ }; + + CGBuilderTy &Builder; + + BlockFunction(CGBuilderTy &B) : Builder(B) { } + + llvm::Value *BuildCopyHelper(int flag); + llvm::Value *BuildDestroyHelper(int flag); + }; } // end namespace CodeGen |