From: Matthias Braun Date: Wed, 30 May 2007 12:34:04 +0000 (+0000) Subject: place spills after keeps X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=982f02dcd95e91028208dbcca8fdec24eb71f1a6;p=libfirm place spills after keeps [r14176] --- diff --git a/ir/be/bespill.c b/ir/be/bespill.c index 6b2b8ae98..98e9f1529 100644 --- a/ir/be/bespill.c +++ b/ir/be/bespill.c @@ -347,7 +347,7 @@ static void sched_add_after_insn(ir_node *sched_after, ir_node *node) { ir_node *next = sched_next(sched_after); - while(is_Proj(next) || is_Phi(next)) { + while(is_Proj(next) || is_Phi(next) || be_is_Keep(next)) { next = sched_next(next); } assert(next != NULL);