More codegen support for the copy/dispose helpers for block literals.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66241 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGBlocks.h b/lib/CodeGen/CGBlocks.h
index 84ad190..adcb4af 100644
--- a/lib/CodeGen/CGBlocks.h
+++ b/lib/CodeGen/CGBlocks.h
@@ -160,8 +160,14 @@
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);