we need the fix_start_block hack
[libfirm] / ir / be / beinsn.c
index 6f7780b..ac534b9 100644 (file)
@@ -121,12 +121,6 @@ be_insn_t *be_scan_insn(const be_insn_env_t *env, ir_node *irn)
                                pre_colored += arch_get_irn_register(arch_env, p) != NULL;
                        }
                }
-
-               /* FIXME: Until yet, 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;
-
        } else if (arch_irn_consider_in_reg_alloc(arch_env, env->cls, irn)) {
                /* only one def, create one operand */
                o.req     = arch_get_register_req(arch_env, irn, -1);