summaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 607aecec22f..7271ea70aba 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -1846,8 +1846,8 @@ end_java_method (void)
variable to the block_body */
fbody = DECL_SAVED_TREE (fndecl);
block_body = BIND_EXPR_BODY (fbody);
- htab_traverse (DECL_FUNCTION_INIT_TEST_TABLE (fndecl),
- attach_init_test_initialization_flags, block_body);
+ hash_table<treetreehasher> *ht = DECL_FUNCTION_INIT_TEST_TABLE (fndecl);
+ ht->traverse<tree, attach_init_test_initialization_flags> (block_body);
}
finish_method (fndecl);