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 | 730648707718eefd19d77d3679d6e788e4b20100 (patch) | |
| tree | 0ef8b8cb7d9aa964c6737de69cf8daeb925d9a1b /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | 873c6dd875f6de0fc1eda4c6f360ea1b1ca8daa2 (diff) | |
| download | llvm-730648707718eefd19d77d3679d6e788e4b20100.zip llvm-730648707718eefd19d77d3679d6e788e4b20100.tar.gz llvm-730648707718eefd19d77d3679d6e788e4b20100.tar.bz2 | |
Move all the significant __block code into CGBlocks.cpp. No functionality
change.
llvm-svn: 128608
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index c7426e1..10f279e 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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; |
