diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-11 07:14:12 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-11 07:14:12 +0000 |
commit | 28df663bb621dcf2daa666164152c8ebe07a560d (patch) | |
tree | b849ba0e43631f349c7d6dbe1465e4f5bbf2c0de /gcc/java | |
parent | 885460534c19a0c03925680466c21a344e59aee0 (diff) | |
download | gcc-28df663bb621dcf2daa666164152c8ebe07a560d.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71298 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/parse.y | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 68841af41b1..337c2b1066c 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 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; |