diff options
author | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-06-16 07:25:53 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-06-16 07:25:53 +0000 |
commit | 2f8e398bf476a5b0682e6fdc0f8b64df1cf0347b (patch) | |
tree | 9a0555f8f1b2223026f9437cfe0dae25fa815cd4 /gcc/java/class.c | |
parent | fd660b1bee7af09cd69d1125cf35e6aa5826234c (diff) | |
download | gcc-2f8e398bf476a5b0682e6fdc0f8b64df1cf0347b.zip gcc-2f8e398bf476a5b0682e6fdc0f8b64df1cf0347b.tar.gz gcc-2f8e398bf476a5b0682e6fdc0f8b64df1cf0347b.tar.bz2 |
coverage.c: Remove argument to rest_of_compilation.
gcc/ChangeLog:
2004-06-16 Paolo Bonzini <bonzini@gnu.org>
* coverage.c: Remove argument to rest_of_compilation.
* expr.c (execute_expand, set_save_expr_context, pass_expand): New.
* passes.c (rest_of_compilation): Remove argument.
(pass_rest_of_compilation): New.
(rest_of_handle_final, rest_of_handle_delay_slots,
rest_of_handle_stack_regs, rest_of_handle_variable_tracking
rest_of_handle_machine_reorg, rest_of_handle_regrename
rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_gcse2
rest_of_handle_regmove, rest_of_handle_tracer
rest_of_handle_if_conversion, rest_of_handle_if_after_combine
rest_of_handle_web, rest_of_handle_branch_prob
rest_of_handle_value_profile_transformations, rest_of_handle_cfg
rest_of_handle_addressof, rest_of_handle_jump_bypass
rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2):
Check that the two arguments are actually superfluous.
* toplev.h (rest_of_compilation): Adjust prototype.
* tree-optimize.c (register_dump_files): Add properties argument.
Track validity of passes. Only initialize dump files for
tree-based passes. Store the full set of provided passes in
the pass.
(init_tree_optimization_passes): Register pass_expand and
pass_rest_of_compilation.
(execute_one_pass): Do not track the presence of required properties
here. Set in_gimple_form. Do not update current_properties.
(current_properties): Remove.
(set_save_expr_context): Remove.
(tree_rest_of_compilation): Do not set in_gimple_form. Do not
expand to RTL here, and do not call rest_of_compilation. Push
GGC context even before gimplification.
* tree-pass.h (PROP_rtl, PROP_trees): New flags.
(pass_expand, pass_rest_of_compilation): Declare.
gcc/java/ChangeLog:
2004-06-16 Paolo Bonzini <bonzini@gnu.org>
* java/class.c (emit_register_classes): Remove argument to
rest_of_compilation.
* java/resource.c (write_resource_constructor): Likewise.
From-SVN: r83225
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 2 |
1 files changed, 1 insertions, 1 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) |