aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.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/decl.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/decl.c')
-rw-r--r--gcc/java/decl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 8ed8926..d249157 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -1899,15 +1899,15 @@ java_mark_cni_decl_local (tree decl)
/* Use the preceding two functions and mark all members of the class. */
void
-java_mark_class_local (tree class)
+java_mark_class_local (tree klass)
{
tree t;
- for (t = TYPE_FIELDS (class); t ; t = TREE_CHAIN (t))
+ for (t = TYPE_FIELDS (klass); t ; t = TREE_CHAIN (t))
if (FIELD_STATIC (t))
java_mark_decl_local (t);
- for (t = TYPE_METHODS (class); t ; t = TREE_CHAIN (t))
+ for (t = TYPE_METHODS (klass); t ; t = TREE_CHAIN (t))
if (!METHOD_ABSTRACT (t))
{
if (METHOD_NATIVE (t) && !flag_jni)