summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-09-13 03:34:09 +0000
committerJohn McCall <rjmccall@apple.com>2011-09-13 03:34:09 +0000
commitf4528ae0635c3dcba0f0b842c2b67f368d7b702f (patch)
treed478744d18a1c19e35bb75b2611ad04e4b04cd8d /clang/lib/CodeGen/CodeGenFunction.h
parent061d811c51ce29cc2a4b06cf1b812f2af21ecee6 (diff)
downloadbcm5719-llvm-f4528ae0635c3dcba0f0b842c2b67f368d7b702f.tar.gz
bcm5719-llvm-f4528ae0635c3dcba0f0b842c2b67f368d7b702f.zip
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. llvm-svn: 139580
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 900e0e3f6ca..9949b67ecf3 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/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);
OpenPOWER on IntegriCloud