diff options
Diffstat (limited to 'lib/CodeGen/CGBlocks.h')
-rw-r--r-- | lib/CodeGen/CGBlocks.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/CodeGen/CGBlocks.h b/lib/CodeGen/CGBlocks.h index f82ce117b3..a1453f6816 100644 --- a/lib/CodeGen/CGBlocks.h +++ b/lib/CodeGen/CGBlocks.h @@ -189,13 +189,16 @@ public: llvm::Constant *BuildDestroyHelper(const llvm::StructType *, std::vector<HelperInfo> *); - llvm::Constant *GeneratebyrefCopyHelperFunction(const llvm::Type *, int flag); - llvm::Constant *GeneratebyrefDestroyHelperFunction(const llvm::Type *T, int); + llvm::Constant *GeneratebyrefCopyHelperFunction(const llvm::Type *, int flag, + const VarDecl *BD); + llvm::Constant *GeneratebyrefDestroyHelperFunction(const llvm::Type *T, + int flag, + const VarDecl *BD); llvm::Constant *BuildbyrefCopyHelper(const llvm::Type *T, int flag, - unsigned Align); + unsigned Align, const VarDecl *BD); llvm::Constant *BuildbyrefDestroyHelper(const llvm::Type *T, int flag, - unsigned Align); + unsigned Align, const VarDecl *BD); void BuildBlockRelease(llvm::Value *DeclPtr, int flag = BLOCK_FIELD_IS_BYREF); |