Commit bcff5c1e by Shujing Zhao Committed by Shujing Zhao

objc-act.c (objc_substitute_decl, [...]): Update build_indirect_ref calls.

2009-12-17  Shujing Zhao  <pearly.zhao@oracle.com>

	* objc-act.c (objc_substitute_decl, build_ivar_reference,
	get_super_receiver): Update build_indirect_ref calls.

From-SVN: r155311
parent 0f727c82
2009-12-17 Shujing Zhao <pearly.zhao@oracle.com>
* objc-act.c (objc_substitute_decl, build_ivar_reference,
get_super_receiver): Update build_indirect_ref calls.
2009-11-28 Jakub Jelinek <jakub@redhat.com> 2009-11-28 Jakub Jelinek <jakub@redhat.com>
* objc-act.c (generate_shared_structures): Remove unused sc_spec and * objc-act.c (generate_shared_structures): Remove unused sc_spec and
......
...@@ -3115,7 +3115,7 @@ objc_substitute_decl (tree expr, tree oldexpr, tree newexpr) ...@@ -3115,7 +3115,7 @@ objc_substitute_decl (tree expr, tree oldexpr, tree newexpr)
return build_indirect_ref (input_location, return build_indirect_ref (input_location,
objc_substitute_decl (TREE_OPERAND (expr, 0), objc_substitute_decl (TREE_OPERAND (expr, 0),
oldexpr, oldexpr,
newexpr), "->"); newexpr), RO_ARROW);
default: default:
return expr; return expr;
} }
...@@ -6823,7 +6823,8 @@ build_ivar_reference (tree id) ...@@ -6823,7 +6823,8 @@ build_ivar_reference (tree id)
} }
return objc_build_component_ref (build_indirect_ref (input_location, return objc_build_component_ref (build_indirect_ref (input_location,
self_decl, "->"), id); self_decl, RO_ARROW),
id);
} }
/* Compute a hash value for a given method SEL_NAME. */ /* Compute a hash value for a given method SEL_NAME. */
...@@ -8841,7 +8842,7 @@ get_super_receiver (void) ...@@ -8841,7 +8842,7 @@ get_super_receiver (void)
(input_location, (input_location,
build_c_cast (input_location, build_c_cast (input_location,
build_pointer_type (objc_class_type), build_pointer_type (objc_class_type),
super_class), "unary *"); super_class), RO_UNARY_STAR);
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment