summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-07-02 18:58:16 +0200
committerMatthias Braun <matze@braunis.de>2010-07-02 18:58:16 +0200
commit69849fc8fe452350bfbd2ad67f1898147fc906b4 (patch)
treedca97f03eca3f5353a35ce953c43f3bf2364b17e /ir/be/bestate.c
parent696520d4ae2d38da523bffcf0356aacc350f4845 (diff)
- change various be_get_birg_XXX functions to be_get_irg_XXX functions.
[r27690]
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 c83bc6c..1b2c72f 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -523,7 +523,7 @@ void be_assure_state(be_irg_t *birg, const arch_register_t *reg, void *func_env,
minibelady_env_t env;
ir_graph *irg = be_get_birg_irg(birg);
spill_info_t *info;
- be_lv_t *lv = be_assure_liveness(birg);
+ be_lv_t *lv = be_assure_liveness(irg);
be_liveness_assure_sets(lv);
/* construct control flow loop tree */
@@ -536,7 +536,7 @@ void be_assure_state(be_irg_t *birg, const arch_register_t *reg, void *func_env,
env.func_env = func_env;
env.create_spill = create_spill;
env.create_reload = create_reload;
- env.lv = be_get_birg_liveness(birg);
+ env.lv = be_get_irg_liveness(irg);
env.uses = be_begin_uses(irg, env.lv);
env.spills = NULL;
ir_nodemap_init(&env.spill_infos);