aboutsummaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2004-05-15 09:39:30 +0000
committerSteven Bosscher <stevenb@suse.de>2004-05-15 09:39:30 +0000
commit923e9e0a8d7d40b56abd97bebaa2c3e5f4239f4d (patch)
treedcc9e5b2879fa3fbd06b71b8cf966772d254405b /gcc/reg-stack.c
parent7472c89bd04d340395a04ddc9a18c7a770fb348e (diff)
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@81873 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r--gcc/reg-stack.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index 8314b21ce35..add71835174 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -399,8 +399,7 @@ pop_stack (stack regstack, int regno)
}
/* Convert register usage from "flat" register file usage to a "stack
- register file. FIRST is the first insn in the function, FILE is the
- dump file, if used.
+ register file. FILE is the dump file, if used.
Construct a CFG and run life analysis. Then convert each insn one
by one. Run a last cleanup_cfg pass, if optimizing, to eliminate
@@ -408,7 +407,7 @@ pop_stack (stack regstack, int regno)
the edges. */
bool
-reg_to_stack (rtx first, FILE *file)
+reg_to_stack (FILE *file)
{
basic_block bb;
int i;
@@ -434,7 +433,7 @@ reg_to_stack (rtx first, FILE *file)
&& flag_schedule_insns_after_reload))
{
count_or_remove_death_notes (NULL, 1);
- life_analysis (first, file, PROP_DEATH_NOTES);
+ life_analysis (file, PROP_DEATH_NOTES);
}
mark_dfs_back_edges ();