diff options
author | Mike Stump <mrs@apple.com> | 2009-03-06 02:29:21 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-03-06 02:29:21 +0000 |
commit | ee2a5ee5f76c8e1217eeaf8f387909d44b2c7b4f (patch) | |
tree | 6d9bae185d2db2aba979530e2c06ddb65d9c6d0b /clang/lib/CodeGen/CGBlocks.h | |
parent | 15af5524a4f572fee4aaf43abe4a24c3d83e3f86 (diff) | |
download | bcm5719-llvm-ee2a5ee5f76c8e1217eeaf8f387909d44b2c7b4f.tar.gz bcm5719-llvm-ee2a5ee5f76c8e1217eeaf8f387909d44b2c7b4f.zip |
More codegen support for the copy/dispose helpers for block literals.
llvm-svn: 66241
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r-- | clang/lib/CodeGen/CGBlocks.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h index 84ad190d6ff..adcb4af0d1f 100644 --- a/clang/lib/CodeGen/CGBlocks.h +++ b/clang/lib/CodeGen/CGBlocks.h @@ -160,8 +160,14 @@ public: llvm::Constant *GenerateCopyHelperFunction(); llvm::Constant *GenerateDestroyHelperFunction(); - llvm::Constant *BuildCopyHelper(int flag); - llvm::Constant *BuildDestroyHelper(int flag); + llvm::Constant *BuildCopyHelper(); + llvm::Constant *BuildDestroyHelper(); + + llvm::Constant *GeneratebyrefCopyHelperFunction(); + llvm::Constant *GeneratebyrefDestroyHelperFunction(); + + llvm::Constant *BuildbyrefCopyHelper(int flag); + llvm::Constant *BuildbyrefDestroyHelper(int flag); llvm::Value *getBlockObjectDispose(); void BuildBlockRelease(const VarDecl &D, llvm::Value *DeclPtr); |