From: Matthias Braun Date: Fri, 22 Jun 2007 09:16:33 +0000 (+0000) Subject: fix for my last stack bias fix X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=7bdb3ff422f6fee6970ebb1eb895f47b9c7661e5;p=libfirm fix for my last stack bias fix [r14712] --- diff --git a/ir/be/beabi.c b/ir/be/beabi.c index c40b7643d..d27d18a6f 100644 --- a/ir/be/beabi.c +++ b/ir/be/beabi.c @@ -2247,7 +2247,7 @@ static int process_stack_bias(be_abi_irg_t *env, ir_node *bl, int bias) DBG((env->dbg, LEVEL_2, "%F has offset %d (including bias %d)\n", ent, offset, bias)); } - if(omit_fp) { + if(omit_fp || be_is_IncSP(irn)) { /* * If the node modifies the stack pointer by a constant offset, * record that in the bias. @@ -2264,7 +2264,8 @@ static int process_stack_bias(be_abi_irg_t *env, ir_node *bl, int bias) } } - bias += ofs; + if(omit_fp) + bias += ofs; } }