diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-12-02 17:02:11 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-12-02 17:02:11 +0000 |
commit | 50198098b95d30dc027ac4f89e77a727b3a25635 (patch) | |
tree | 1875532a6823644b38abf9b54591ade6b53b0383 /clang/lib/CodeGen/CGBlocks.h | |
parent | 1596c4531b3950f4c883013cb51182ad40884633 (diff) | |
download | bcm5719-llvm-50198098b95d30dc027ac4f89e77a727b3a25635.tar.gz bcm5719-llvm-50198098b95d30dc027ac4f89e77a727b3a25635.zip |
IR Gen. part of API support for __block cxx
objects imported into blocks. //rdar://8594790.
Will have a test case coming (as well as one
sent to llvm test suite).
llvm-svn: 120713
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r-- | clang/lib/CodeGen/CGBlocks.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h index f82ce117b34..a1453f68161 100644 --- a/clang/lib/CodeGen/CGBlocks.h +++ b/clang/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); |