aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-09-11 00:14:12 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-09-11 00:14:12 -0700
commit6b00c969c4be4455d900fd7f2d802bb68f45598c (patch)
treeb849ba0e43631f349c7d6dbe1465e4f5bbf2c0de /gcc/java
parentdd5c7759f3432e795c5ee738eec5e931c0ef45b2 (diff)
downloadgcc-6b00c969c4be4455d900fd7f2d802bb68f45598c.zip
gcc-6b00c969c4be4455d900fd7f2d802bb68f45598c.tar.gz
gcc-6b00c969c4be4455d900fd7f2d802bb68f45598c.tar.bz2
cgraphunit.c (cgraph_finalize_function): Add nested arg.
* cgraphunit.c (cgraph_finalize_function): Add nested arg. Tweek tests for function already generated. (cgraph_expand_function): Don't double announce in !unit-at-a-time. * cgraph.h (cgraph_finalize_function): Update for extra arg. * c-decl.c (finish_function): Likewise. * semantics.c (expand_or_defer_fn): Update for new cgraph_finalize_function argument. * parse.y (source_end_java_method): Update for new cgraph_finalize_function argument. From-SVN: r71298
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/parse.y2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 68841af..337c2b1 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-11 Richard Henderson <rth@redhat.com>
+
+ * parse.y (source_end_java_method): Update for new
+ cgraph_finalize_function argument.
+
2003-09-09 Richard Henderson <rth@redhat.com>
* parse.y (source_end_java_method): Update call to
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 2a6abf5..a5064e1 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;