summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestat.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/bestat.c
parent68a3a77f08f0ccdadce9759d6eb19ecd875be7f0 (diff)
belive: cleanup livness assure/invalidate API
This also plugs liveness related memory leaks
Diffstat (limited to 'ir/be/bestat.c')
-rw-r--r--ir/be/bestat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bestat.c b/ir/be/bestat.c
index 1fc426d..b65552a 100644
--- a/ir/be/bestat.c
+++ b/ir/be/bestat.c
@@ -105,7 +105,7 @@ void be_do_stat_reg_pressure(ir_graph *irg, const arch_register_class_t *cls)
env.insn_count = 0;
env.max_pressure = 0;
env.regpressure = 0;
- be_liveness_assure_sets(be_assure_liveness(irg));
+ be_assure_live_sets(irg);
env.lv = be_get_irg_liveness(irg);
env.cls = cls;