summaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorNicola Pero <n.pero@mi.flashnet.it>2002-09-03 12:39:40 +0200
committerNicola Pero <nicola@gcc.gnu.org>2002-09-03 10:39:40 +0000
commitee453219a98247aeb62a3d0c33e72c222f53096b (patch)
treee1ffb847625d35dfc015c16b1b4b9a99af984e6f /gcc/objc
parent64f3ecb1b3c8696804cba4404d6b93f4b28f73ba (diff)
downloadgcc-ee453219a98247aeb62a3d0c33e72c222f53096b.tar.gz
Fixed typo causing bloat when compiling ObjC programs with GNU runtime
From-SVN: r56753
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 7a1f82b39d0..cba9ddea8a3 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -1978,8 +1978,8 @@ get_proto_encoding (proto)
identifier_node that represent the selector. */
static tree
-build_typed_selector_reference (ident, proto)
- tree ident, proto;
+build_typed_selector_reference (ident, prototype)
+ tree ident, prototype;
{
tree *chain = &sel_ref_chain;
tree expr;
@@ -1987,14 +1987,14 @@ build_typed_selector_reference (ident, proto)
while (*chain)
{
- if (TREE_PURPOSE (*chain) == ident && TREE_VALUE (*chain) == proto)
+ if (TREE_PURPOSE (*chain) == prototype && TREE_VALUE (*chain) == ident)
goto return_at_index;
index++;
chain = &TREE_CHAIN (*chain);
}
- *chain = tree_cons (proto, ident, NULL_TREE);
+ *chain = tree_cons (prototype, ident, NULL_TREE);
return_at_index:
expr = build_unary_op (ADDR_EXPR,