summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-12-21 18:16:12 +0100
committerMatthias Braun <matze@braunis.de>2011-12-22 16:49:27 +0100
commitb482d88d58ce6517bbb6597aa04ffa86ade5f2c9 (patch)
tree3555588ca1cc37ba130b5e44b91cac46c5901c0c /ir/be/bestate.c
parent68a3a77f08f0ccdadce9759d6eb19ecd875be7f0 (diff)
belive: cleanup livness assure/invalidate API
This also plugs liveness related memory leaks
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 146640d..1e3bf3e 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -525,9 +525,9 @@ void be_assure_state(ir_graph *irg, const arch_register_t *reg, void *func_env,
{
minibelady_env_t env;
spill_info_t *info;
- be_lv_t *lv = be_assure_liveness(irg);
+ be_lv_t *lv = be_get_irg_liveness(irg);
- be_liveness_assure_sets(lv);
+ be_assure_live_sets(irg);
assure_loopinfo(irg);
obstack_init(&env.obst);