[llvm-branch-commits] [llvm-gcc-branch] r110462 - in /llvm-gcc-4.2/branches/Apple/Pertwee: ./ gcc/cp/call.c
Stuart Hastings
stuart at apple.com
Fri Aug 6 11:40:50 PDT 2010
Author: stuart
Date: Fri Aug 6 13:40:50 2010
New Revision: 110462
URL: http://llvm.org/viewvc/llvm-project?rev=110462&view=rev
Log:
Fix ObjC++ implicit setter codegen. Radar 8264751. Patch by Fariborz Jahanian!
Modified:
llvm-gcc-4.2/branches/Apple/Pertwee/ (props changed)
llvm-gcc-4.2/branches/Apple/Pertwee/gcc/cp/call.c
Propchange: llvm-gcc-4.2/branches/Apple/Pertwee/
------------------------------------------------------------------------------
svn:mergeinfo = /llvm-gcc-4.2/trunk:110043,110250,110459
Modified: llvm-gcc-4.2/branches/Apple/Pertwee/gcc/cp/call.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Pertwee/gcc/cp/call.c?rev=110462&r1=110461&r2=110462&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Pertwee/gcc/cp/call.c (original)
+++ llvm-gcc-4.2/branches/Apple/Pertwee/gcc/cp/call.c Fri Aug 6 13:40:50 2010
@@ -4538,6 +4538,10 @@
/* Take the address of the thing to which we will bind the
reference. */
+ /* LLVM LOCAL begin 8264751 */
+ if (objc_property_reference_expr(expr))
+ expr = objc_build_property_getter_func_call(expr);
+ /* LLVM LOCAL end 8264751 */
expr = build_unary_op (ADDR_EXPR, expr, 1);
if (expr == error_mark_node)
return error_mark_node;
More information about the llvm-branch-commits
mailing list