diff options
author | John McCall <rjmccall@apple.com> | 2011-09-10 09:17:20 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-09-10 09:17:20 +0000 |
commit | 7f16c42b9e152de2ef763e76a5789a303ef2def4 (patch) | |
tree | 3730ea828f72fe4fbe36451cbd0307b03806f670 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 944cdc09a9617767f474f15abe803016b7e6e1f5 (diff) | |
download | bcm5719-llvm-7f16c42b9e152de2ef763e76a5789a303ef2def4.tar.gz bcm5719-llvm-7f16c42b9e152de2ef763e76a5789a303ef2def4.zip |
Simplify the generation of Objective-C setters, at least a little.
Use a more portable heuristic for deciding when to emit a single
atomic store; it's possible that I've lost information here, but
I'm not sure how much of the logic before was intentionally arch-specific
and how much was just not quite consistent.
llvm-svn: 139468
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 702aca8aca7..2011202dfe0 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1213,6 +1213,8 @@ public: /// for the given property. void GenerateObjCSetter(ObjCImplementationDecl *IMP, const ObjCPropertyImplDecl *PID); + void generateObjCSetterBody(const ObjCImplementationDecl *classImpl, + const ObjCPropertyImplDecl *propImpl); bool IndirectObjCSetterArg(const CGFunctionInfo &FI); bool IvarTypeWithAggrGCObjects(QualType Ty); |