summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-03-06 04:53:30 +0000
committerMike Stump <mrs@apple.com>2009-03-06 04:53:30 +0000
commitfbe25dd1e4815eda2430a424181630620ce5085d (patch)
tree3375ece83b82840399809f5996c5ab3fc1192cdc /clang/lib/CodeGen/CGBlocks.h
parentd4a96730c1986b96f246fbc8df7adb5bcdbc4e4d (diff)
downloadbcm5719-llvm-fbe25dd1e4815eda2430a424181630620ce5085d.tar.gz
bcm5719-llvm-fbe25dd1e4815eda2430a424181630620ce5085d.zip
Finish off __Block_byref_id_object_dispose codegen for block literals.
llvm-svn: 66247
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r--clang/lib/CodeGen/CGBlocks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h
index a34e1022169..9763a1f32af 100644
--- a/clang/lib/CodeGen/CGBlocks.h
+++ b/clang/lib/CodeGen/CGBlocks.h
@@ -164,13 +164,13 @@ public:
llvm::Constant *BuildDestroyHelper();
llvm::Constant *GeneratebyrefCopyHelperFunction();
- llvm::Constant *GeneratebyrefDestroyHelperFunction();
+ llvm::Constant *GeneratebyrefDestroyHelperFunction(const llvm::Type *T, int);
llvm::Constant *BuildbyrefCopyHelper(int flag);
- llvm::Constant *BuildbyrefDestroyHelper(int flag);
+ llvm::Constant *BuildbyrefDestroyHelper(const llvm::Type*, int flag);
llvm::Value *getBlockObjectDispose();
- void BuildBlockRelease(llvm::Value *DeclPtr);
+ void BuildBlockRelease(llvm::Value *DeclPtr, int flag = BLOCK_FIELD_IS_BYREF);
bool BlockRequiresCopying(QualType Ty) {
if (Ty->isBlockPointerType())
OpenPOWER on IntegriCloud