aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/class.c2
-rw-r--r--gcc/java/resource.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 57107dd..cfb3366 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -2316,7 +2316,7 @@ emit_register_classes (void)
input_location = DECL_SOURCE_LOCATION (init_decl);
expand_function_end ();
poplevel (1, 0, 1);
- rest_of_compilation (init_decl);
+ rest_of_compilation ();
current_function_decl = NULL_TREE;
if (targetm.have_ctors_dtors)
diff --git a/gcc/java/resource.c b/gcc/java/resource.c
index 5ebbf5e..0f8440d 100644
--- a/gcc/java/resource.c
+++ b/gcc/java/resource.c
@@ -153,7 +153,7 @@ write_resource_constructor (void)
poplevel (1, 0, 1);
/* rest_of_compilation forces generation even if -finline-functions. */
- rest_of_compilation (init_decl);
+ rest_of_compilation ();
current_function_decl = NULL_TREE;
if (targetm.have_ctors_dtors)