aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorShujing Zhao <pearly.zhao@oracle.com>2009-12-17 11:57:10 +0000
committerShujing Zhao <pzhao@gcc.gnu.org>2009-12-17 11:57:10 +0000
commitbcff5c1ed17e1533c60b0916ffa10be2f414febf (patch)
tree013b863a88528d2949dccb9077a06c4564eeec17 /gcc/objc
parent0f727c8270a451cb1472b498d056b6e5cf812e2c (diff)
downloadgcc-bcff5c1ed17e1533c60b0916ffa10be2f414febf.zip
gcc-bcff5c1ed17e1533c60b0916ffa10be2f414febf.tar.gz
gcc-bcff5c1ed17e1533c60b0916ffa10be2f414febf.tar.bz2
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
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/objc-act.c7
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index d6e2b1f..7f43dc0 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,8 @@
+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>
* objc-act.c (generate_shared_structures): Remove unused sc_spec and
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index e39462d..2680fd8 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -3115,7 +3115,7 @@ objc_substitute_decl (tree expr, tree oldexpr, tree newexpr)
return build_indirect_ref (input_location,
objc_substitute_decl (TREE_OPERAND (expr, 0),
oldexpr,
- newexpr), "->");
+ newexpr), RO_ARROW);
default:
return expr;
}
@@ -6823,7 +6823,8 @@ build_ivar_reference (tree id)
}
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. */
@@ -8841,7 +8842,7 @@ get_super_receiver (void)
(input_location,
build_c_cast (input_location,
build_pointer_type (objc_class_type),
- super_class), "unary *");
+ super_class), RO_UNARY_STAR);
}
else
{