]> granicus.if.org Git - clang/commit
Simplify the generation of Objective-C setters, at least a little.
authorJohn McCall <rjmccall@apple.com>
Sat, 10 Sep 2011 09:17:20 +0000 (09:17 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 10 Sep 2011 09:17:20 +0000 (09:17 +0000)
commit71c758d3f4ecc8b511e6ae4a7210486aa994c182
treed30acae3cdc35b7e212e63eeb72827c1c24c2328
parent33e56f3273457bfa22c7c50bc46cf5a18216863d
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139468 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.h