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 | 4b501a2ed86ffc8ff7983804cff81667cef0bec0 (patch) | |
| tree | 5dd69e5dd7514834a9318a991930b5bd8d3cda8a /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | ca66bba45e2f8f9b3b202cd91e98602b1a8e8a30 (diff) | |
| download | bcm5719-llvm-4b501a2ed86ffc8ff7983804cff81667cef0bec0.tar.gz bcm5719-llvm-4b501a2ed86ffc8ff7983804cff81667cef0bec0.zip | |
objc++: More codegen stuff for atomic properties of c++ objects
with non-trivial copies. // rdar://6137845
llvm-svn: 147735
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index d016bbe3e46..938acd3c564 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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); |

