spill preparation needs liveness
authorMatthias Braun <matze@braunis.de>
Thu, 24 Sep 2009 13:37:19 +0000 (13:37 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 24 Sep 2009 13:37:19 +0000 (13:37 +0000)
[r26646]

ir/be/bespill.c

index e525562..573aaa1 100644 (file)
@@ -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);
 }