summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespill.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2009-09-24 15:37:19 +0200
committerMatthias Braun <matze@braunis.de>2009-09-24 15:37:19 +0200
commit1cd6d439fad7b62220e82c8e4a7a4167f4ab93d4 (patch)
tree7bacffb53b4ff7ecba496d389ad5b53cbedcf815 /ir/be/bespill.c
parent3681ce3bc220250ba072e56a09f66a1d010d7a36 (diff)
spill preparation needs liveness
[r26646]
Diffstat (limited to 'ir/be/bespill.c')
-rw-r--r--ir/be/bespill.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ir/be/bespill.c b/ir/be/bespill.c
index e525562..573aaa1 100644
--- a/ir/be/bespill.c
+++ b/ir/be/bespill.c
@@ -247,6 +247,9 @@ void be_pre_spill_prepare_constr(be_irg_t *birg,
memset(&env, 0, sizeof(env));
env.birg = birg;
env.cls = cls;
+
+ be_assure_liveness(birg);
+
irg_block_walk_graph(irg, pre_spill_prepare_constr_walker, NULL, &env);
}