]> granicus.if.org Git - clang/commit
Unify the decision of how to emit property getters and setters into a
authorJohn McCall <rjmccall@apple.com>
Tue, 13 Sep 2011 03:34:09 +0000 (03:34 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 13 Sep 2011 03:34:09 +0000 (03:34 +0000)
commit1e1f4871535f2cadcbf8c9af8cc48a2213192320
tree89f6b74433b4a2057ec9ad0bd358c839e81bd120
parent78243658c533168d51fd076fba328437932ba6f1
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
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenObjC/atomic-aggregate-property.m