aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/mangle.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-06-24 12:46:59 +0000
committerTom Tromey <tromey@gcc.gnu.org>2008-06-24 12:46:59 +0000
commitf02a84d9bea57d5ea8bc688a52c4ad568811d0e3 (patch)
tree354f09c5b595364bbe3a120012deb913cb611a72 /gcc/java/mangle.c
parentf9993944a43c65e41b64d93b5a1cb9f2e9160a94 (diff)
downloadgcc-f02a84d9bea57d5ea8bc688a52c4ad568811d0e3.zip
gcc-f02a84d9bea57d5ea8bc688a52c4ad568811d0e3.tar.gz
gcc-f02a84d9bea57d5ea8bc688a52c4ad568811d0e3.tar.bz2
jcf-path.c (jcf_path_init): Don't name variable 'try'.
* jcf-path.c (jcf_path_init): Don't name variable 'try'. * expr.c (add_type_assertion): Rename argument. (build_java_arrayaccess): Don't name variable 'throw'. (ARRAY_NEW_MULTI): Don't name variable 'class'. * jcf-io.c (find_class): Don't name variable 'class'. * mangle.c (compression_table_add): Don't name variable 'new'. * constants.c (cpool_for_class): Rename argument. (alloc_constant_fieldref): Likewise. * jcf-parse.c (handle_innerclass_attribute): Don't name variable 'class'. (read_class): Likewise. (parse_zip_file_entries): Likewise. (process_zip_dir): Likewise. * decl.c (java_mark_class_local): Rename argument. * class.c (GEN_TABLE): Use type_name, not typename. (gen_indirect_dispatch_tables): Likewise. (add_field): Rename argument. (is_compiled_class): Likewise. (safe_layout_class): Likewise. (emit_assertion_table): Likewise. * typeck.c (has_method): Rename argument. From-SVN: r137069
Diffstat (limited to 'gcc/java/mangle.c')
-rw-r--r--gcc/java/mangle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/java/mangle.c b/gcc/java/mangle.c
index 2e89a30..61594d9 100644
--- a/gcc/java/mangle.c
+++ b/gcc/java/mangle.c
@@ -1,6 +1,6 @@
/* Functions related to mangling class names for the GNU compiler
for the Java(TM) language.
- Copyright (C) 1998, 1999, 2001, 2002, 2003, 2006, 2007
+ Copyright (C) 1998, 1999, 2001, 2002, 2003, 2006, 2007, 2008
Free Software Foundation, Inc.
This file is part of GCC.
@@ -782,13 +782,13 @@ compression_table_add (tree type)
{
if (compression_next == TREE_VEC_LENGTH (compression_table))
{
- tree new = make_tree_vec (2*compression_next);
+ tree new_table = make_tree_vec (2*compression_next);
int i;
for (i = 0; i < compression_next; i++)
- TREE_VEC_ELT (new, i) = TREE_VEC_ELT (compression_table, i);
+ TREE_VEC_ELT (new_table, i) = TREE_VEC_ELT (compression_table, i);
- compression_table = new;
+ compression_table = new_table;
}
TREE_VEC_ELT (compression_table, compression_next++) = type;
}