summaryrefslogtreecommitdiff
path: root/gcc/java/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r--gcc/java/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 2a6abf56c18..a5064e18465 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -7474,7 +7474,7 @@ source_end_java_method (void)
/* In unit-at-a-time mode, don't expand the method yet. */
if (DECL_SAVED_TREE (fndecl) && flag_unit_at_a_time)
{
- cgraph_finalize_function (fndecl);
+ cgraph_finalize_function (fndecl, false);
current_function_decl = NULL_TREE;
java_parser_context_restore_global ();
return;