diff options
author | John McCall <rjmccall@apple.com> | 2011-03-31 01:59:53 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-03-31 01:59:53 +0000 |
commit | 5af02db5a48476e0748f135369663080eae87c64 (patch) | |
tree | 445e04acf24cdccd3bc3bbdf6ddcd9db233df9a6 /lib/CodeGen/CodeGenFunction.h | |
parent | 8c079ac8f8b36804b5586985449956e0481e2e02 (diff) |
Move all the significant __block code into CGBlocks.cpp. No functionality
change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index c7426e1ee7..10f279e750 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1116,6 +1116,11 @@ public: void BuildBlockRelease(llvm::Value *DeclPtr, BlockFieldFlags flags); + class AutoVarEmission; + + void emitByrefStructureInit(const AutoVarEmission &emission); + void enterByrefCleanup(const AutoVarEmission &emission); + llvm::Value *LoadBlockStruct() { assert(BlockPointer && "no block pointer set!"); return BlockPointer; |