From 1cd6d439fad7b62220e82c8e4a7a4167f4ab93d4 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 24 Sep 2009 13:37:19 +0000 Subject: [PATCH] spill preparation needs liveness [r26646] --- ir/be/bespill.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ir/be/bespill.c b/ir/be/bespill.c index e52556257..573aaa1ab 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); } -- 2.20.1