From: Michael Beck Date: Sun, 1 Jul 2007 15:07:41 +0000 (+0000) Subject: add missing #ifdef SCHEDULE_PROJS X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=44f25648d311cfdf958fa5d1ed20659b250e0eac;p=libfirm add missing #ifdef SCHEDULE_PROJS [r14869] --- diff --git a/ir/be/beinsn.c b/ir/be/beinsn.c index 6f7780ba7..34c239d74 100644 --- a/ir/be/beinsn.c +++ b/ir/be/beinsn.c @@ -122,10 +122,12 @@ be_insn_t *be_scan_insn(const be_insn_env_t *env, ir_node *irn) } } - /* FIXME: Until yet, Proj's are scheduled, so we need to find the first +#ifdef SCHEDULE_PROJS + /* When Proj's are scheduled, so we need to find the first non-Proj instruction in the schedule */ for (p = sched_next(irn); is_Proj(p); p = sched_next(p)); insn->next_insn = p; +#endif } else if (arch_irn_consider_in_reg_alloc(arch_env, env->cls, irn)) { /* only one def, create one operand */