diff options
author | John McCall <rjmccall@apple.com> | 2011-09-13 03:34:09 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-09-13 03:34:09 +0000 |
commit | 1e1f4871535f2cadcbf8c9af8cc48a2213192320 (patch) | |
tree | 89f6b74433b4a2057ec9ad0bd358c839e81bd120 /lib/CodeGen/CodeGenFunction.h | |
parent | 78243658c533168d51fd076fba328437932ba6f1 (diff) |
Unify the decision of how to emit property getters and setters into a
single code path. Use atomic loads and stores where necessary. Load and
store anything of the appropriate size and alignment with primitive
operations instead of going through the call.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139580 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 900e0e3f6c..9949b67ecf 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1202,6 +1202,8 @@ public: /// GenerateObjCGetter - Synthesize an Objective-C property getter function. void GenerateObjCGetter(ObjCImplementationDecl *IMP, const ObjCPropertyImplDecl *PID); + void generateObjCGetterBody(const ObjCImplementationDecl *classImpl, + const ObjCPropertyImplDecl *propImpl); void GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP, ObjCMethodDecl *MD, bool ctor); |