summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-07-02 18:58:17 +0200
committerMatthias Braun <matze@braunis.de>2010-07-02 18:58:17 +0200
commit18814151f8c0ea17b2a7bf84c82ee3c2e66d6a6b (patch)
tree6cff8b83ad82376aa997841e70c0174cc8735ac2 /ir/be/bestate.c
parent69849fc8fe452350bfbd2ad67f1898147fc906b4 (diff)
change spiller and related interface to use ir_graph* instead of be_irg_t*
[r27691]
Diffstat (limited to 'ir/be/bestate.c')
-rw-r--r--ir/be/bestate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bestate.c b/ir/be/bestate.c
index 1b2c72f..823dec9 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -560,7 +560,7 @@ void be_assure_state(be_irg_t *birg, const arch_register_t *reg, void *func_env,
int i, len;
ir_node **phis;
- be_ssa_construction_init(&senv, birg);
+ be_ssa_construction_init(&senv, irg);
if (sched_is_scheduled(info->value))
be_ssa_construction_add_copy(&senv, info->value);
be_ssa_construction_add_copies(&senv,
@@ -592,7 +592,7 @@ void be_assure_state(be_irg_t *birg, const arch_register_t *reg, void *func_env,
}
/* some nodes might be dead now. */
- be_remove_dead_nodes_from_schedule(birg);
+ be_remove_dead_nodes_from_schedule(irg);
ir_nodemap_destroy(&env.spill_infos);
be_end_uses(env.uses);