From: Michael Beck Date: Fri, 31 Mar 2006 17:46:18 +0000 (+0000) Subject: removed IncSP schedule before me work-around (did not work ;-) X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=986fcfc8024b27ed13403c539cb5d416ccc90780;p=libfirm removed IncSP schedule before me work-around (did not work ;-) --- diff --git a/ir/be/ia32/ia32_optimize.c b/ir/be/ia32/ia32_optimize.c index 1062a4c8b..e6bcc6d70 100644 --- a/ir/be/ia32/ia32_optimize.c +++ b/ir/be/ia32/ia32_optimize.c @@ -405,17 +405,6 @@ static void ia32_optimize_IncSP(ir_node *irn, ia32_code_gen_t *cg) { ir_node *prev = be_get_IncSP_pred(irn); int real_uses = get_irn_n_edges(prev); - if (real_uses != 1) { - /* - This is a hack that should be removed if be_abi_fix_stack_nodes() - is fixed. Currently it leaves some IncSP's outside the chain ... - The previous IncSp is NOT our prev, but directly scheduled before ... - Impossible in a bug-free implementation :-) - */ - prev = sched_prev(irn); - real_uses = 1; - } - if (be_is_IncSP(prev) && real_uses == 1) { /* first IncSP has only one IncSP user, kill the first one */ unsigned prev_offs = be_get_IncSP_offset(prev);