]> granicus.if.org Git - clang/commit
IRgen: Assignment to Objective-C properties shouldn't reload the value, for
authorDaniel Dunbar <daniel@zuster.org>
Tue, 29 Jun 2010 22:44:21 +0000 (22:44 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 29 Jun 2010 22:44:21 +0000 (22:44 +0000)
commit120bc77f4c9ec281ec5e2d2a856c80cfae18bb57
treeb30d3235bf9e480d3f89a8b449aefd6628597597
parentf1d5d8a7f217119063232f72f74cdba4bebbd714
IRgen: Assignment to Objective-C properties shouldn't reload the value, for
complex values either. Previously we did this properly for regular assignment,
but not for compound assignment.
 - Also, tidy up assignment code a bit to look more like the scalar path.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107217 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprComplex.cpp
test/CodeGenObjC/assign.m