summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepbqpcoloring.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/bepbqpcoloring.c
parent68a3a77f08f0ccdadce9759d6eb19ecd875be7f0 (diff)
belive: cleanup livness assure/invalidate API
This also plugs liveness related memory leaks
Diffstat (limited to 'ir/be/bepbqpcoloring.c')
-rw-r--r--ir/be/bepbqpcoloring.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/bepbqpcoloring.c b/ir/be/bepbqpcoloring.c
index 14ce7b3..8ca92cf 100644
--- a/ir/be/bepbqpcoloring.c
+++ b/ir/be/bepbqpcoloring.c
@@ -636,9 +636,8 @@ static void be_pbqp_coloring(be_chordal_env_t *env)
printf("#### ----- === Allocating registers of %s (%s) ===\n", cls->name, get_entity_name(get_irg_entity(irg)));
#endif
- lv = be_assure_liveness(irg);
- be_liveness_assure_sets(lv);
- be_liveness_assure_chk(lv);
+ be_assure_live_sets(irg);
+ lv = be_get_irg_liveness(irg);
/* insert perms */
assure_doms(irg);