aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2004-05-15 09:39:30 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-05-15 09:39:30 +0000
commit827c06b6cfd22d7ca78f56614a5be1b50dadca79 (patch)
treedcc9e5b2879fa3fbd06b71b8cf966772d254405b /gcc/passes.c
parent91cde0c3f5e20c4a77f68a91fc077666872483ab (diff)
downloadgcc-827c06b6cfd22d7ca78f56614a5be1b50dadca79.zip
gcc-827c06b6cfd22d7ca78f56614a5be1b50dadca79.tar.gz
gcc-827c06b6cfd22d7ca78f56614a5be1b50dadca79.tar.bz2
basic-block.h (life_analysis, [...]): Update prototypes.
* basic-block.h (life_analysis, delete_noop_moves): Update prototypes. * bt-load.c (branch_target_load_optimize): Don't take the insns stream as an argument. Update the life_analysis calls. * combine.c (combine_instructions): Update delete_noop_moves calls. * flow.c (notice_stack_pointer_modification): Don't take the insns stream as an argument. Work on the flow graph. (life_analysis): Likewise. (delete_noop_moves): Likewise. * passes.c (rest_of_handle_stack_regs): Update reg_to_stack call. (rest_of_handle_life): Update life_analysis call. (rest_of_compilation): Likewise, and also update branch_target_load_optimize call. * ra.c (reg_alloc): Update life_analysis call. * reg-stack.c (reg_to_stack): Likewise. Also, don't take the insns stream as an argument. * regrename.c (copyprop_hardreg_forward): Update delete_noop_moves call. * rtl.c (branch_target_load_optimize, reg_to_stack): Update prototypes. * value-profile.c (branch_prob): Update life_analysis call. * web.c (web_main): Work on the CFG, not on the insns stream. * config/ip2k/ip2k.c (ip2k_reorg): Update life_analysis calls. * config/m68hc11/m68hc11.c (m68hc11_reorg): Likewise. * config/sh/sh.c (sh_output_mi_thunk): Likewise. From-SVN: r81873
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 5c8e5a6..379df57 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -519,7 +519,7 @@ rest_of_handle_stack_regs (tree decl, rtx insns)
timevar_push (TV_REG_STACK);
open_dump_file (DFI_stack, decl);
- if (reg_to_stack (insns, dump_file) && optimize)
+ if (reg_to_stack (dump_file) && optimize)
{
if (cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_POST_REGSTACK
| (flag_crossjumping ? CLEANUP_CROSSJUMP : 0))
@@ -1044,7 +1044,7 @@ rest_of_handle_life (tree decl, rtx insns)
#ifdef ENABLE_CHECKING
verify_flow_info ();
#endif
- life_analysis (insns, dump_file, PROP_FINAL);
+ life_analysis (dump_file, PROP_FINAL);
if (optimize)
cleanup_cfg ((optimize ? CLEANUP_EXPENSIVE : 0) | CLEANUP_UPDATE_LIFE
| CLEANUP_LOG_LINKS
@@ -1696,7 +1696,7 @@ rest_of_compilation (tree decl)
{
open_dump_file (DFI_branch_target_load, decl);
- branch_target_load_optimize (insns, false);
+ branch_target_load_optimize (/*after_prologue_epilogue_gen=*/false);
close_dump_file (DFI_branch_target_load, print_rtl_with_bb, insns);
@@ -1715,7 +1715,7 @@ rest_of_compilation (tree decl)
if (optimize)
{
- life_analysis (insns, dump_file, PROP_POSTRELOAD);
+ life_analysis (dump_file, PROP_POSTRELOAD);
cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_UPDATE_LIFE
| (flag_crossjumping ? CLEANUP_CROSSJUMP : 0));
@@ -1785,7 +1785,7 @@ rest_of_compilation (tree decl)
open_dump_file (DFI_branch_target_load, decl);
- branch_target_load_optimize (insns, true);
+ branch_target_load_optimize (/*after_prologue_epilogue_gen=*/true);
close_dump_file (DFI_branch_target_load, print_rtl_with_bb, insns);