summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-03-03 15:57:06 +0100
committerMatthias Braun <matze@braunis.de>2011-03-04 14:17:14 +0100
commita8d1d1746d152b07ae118e5180c9cb8f99aa9851 (patch)
tree79bf128e8a99508a8e94878cd517f717f15dfff4 /ir/be/bestate.c
parentb2507748bcdfdd1afaf4d0e0a099aaa06c7a1616 (diff)
cleanup listscheduler code
Diffstat (limited to 'ir/be/bestate.c')
-rw-r--r--ir/be/bestate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ir/be/bestate.c b/ir/be/bestate.c
index b21fee4..5a57bdd 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -183,7 +183,8 @@ static void spill_phi(minibelady_env_t *env, ir_node *phi)
DBG((dbg, LEVEL_2, "\tcreate Phi-M for %+F\n", phi));
/* create a Phi-M */
- spill_info->spill = new_r_Phi(block, arity, in, mode_M);
+ spill_info->spill = be_new_Phi(block, arity, in, mode_M, NULL);
+ sched_add_after(block, spill_info->spill);
if (spill_to_kill != NULL) {
exchange(spill_to_kill, spill_info->spill);