aboutsummaryrefslogtreecommitdiff
path: root/gcc/bt-load.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/bt-load.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/bt-load.c')
-rw-r--r--gcc/bt-load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/bt-load.c b/gcc/bt-load.c
index 0008f3c..7ab8c18 100644
--- a/gcc/bt-load.c
+++ b/gcc/bt-load.c
@@ -1411,7 +1411,7 @@ migrate_btr_defs (enum reg_class btr_class, int allow_callee_save)
}
void
-branch_target_load_optimize (rtx insns, bool after_prologue_epilogue_gen)
+branch_target_load_optimize (bool after_prologue_epilogue_gen)
{
enum reg_class class = targetm.branch_target_register_class ();
if (class != NO_REGS)
@@ -1429,7 +1429,7 @@ branch_target_load_optimize (rtx insns, bool after_prologue_epilogue_gen)
cleanup_cfg (optimize ? CLEANUP_EXPENSIVE : 0);
#endif
- life_analysis (insns, NULL, 0);
+ life_analysis (NULL, 0);
/* Dominator info is also needed for migrate_btr_def. */
calculate_dominance_info (CDI_DOMINATORS);