From ee453219a98247aeb62a3d0c33e72c222f53096b Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Tue, 3 Sep 2002 12:39:40 +0200 Subject: Fixed typo causing bloat when compiling ObjC programs with GNU runtime From-SVN: r56753 --- gcc/objc/objc-act.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/objc') 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, -- cgit v1.2.1