diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-01-07 18:56:22 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-01-07 18:56:22 +0000 |
commit | b6e5fe3cae9bf456f084c555c3ecc256f4181cc5 (patch) | |
tree | 7b25ec7544561549a766fabbfb16de423b185784 /lib/CodeGen/CodeGenFunction.h | |
parent | c5bdc556f6a65c677e0ed73f918c3000ecad33af (diff) |
objc++: More codegen stuff for atomic properties of c++ objects
with non-trivial copies. // rdar://6137845
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index d016bbe3e4..938acd3c56 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1300,7 +1300,8 @@ public: void GenerateObjCGetter(ObjCImplementationDecl *IMP, const ObjCPropertyImplDecl *PID); void generateObjCGetterBody(const ObjCImplementationDecl *classImpl, - const ObjCPropertyImplDecl *propImpl); + const ObjCPropertyImplDecl *propImpl, + llvm::Constant *AtomicHelperFn); void GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP, ObjCMethodDecl *MD, bool ctor); @@ -1335,7 +1336,8 @@ public: llvm::Constant *GenerateCopyHelperFunction(const CGBlockInfo &blockInfo); llvm::Constant *GenerateDestroyHelperFunction(const CGBlockInfo &blockInfo); llvm::Constant *GenerateObjCAtomicCopyHelperFunction( - const ObjCPropertyImplDecl *PID); + const ObjCPropertyImplDecl *PID, + bool forSetter); void BuildBlockRelease(llvm::Value *DeclPtr, BlockFieldFlags flags); |