From: Michael Beck Date: Sat, 25 Mar 2006 11:17:15 +0000 (+0000) Subject: make the names of the be_stack_dir_t more understandable X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;ds=sidebyside;h=e97cf794c502cf2ed802e1594a3e6c1a3bb6922d;p=libfirm make the names of the be_stack_dir_t more understandable --- diff --git a/ir/be/ia32/ia32_emitter.c b/ir/be/ia32/ia32_emitter.c index a072268b4..594e36452 100644 --- a/ir/be/ia32/ia32_emitter.c +++ b/ir/be/ia32/ia32_emitter.c @@ -1190,7 +1190,7 @@ void emit_be_IncSP(const ir_node *irn, ia32_emit_env_t *emit_env) { if (offs) { be_stack_dir_t dir = be_get_IncSP_direction(irn); - if (dir == be_stack_dir_along) + if (dir == be_stack_dir_expand) lc_esnprintf(ia32_get_arg_env(), cmd_buf, SNPRINTF_BUF_LEN, "sub %1S, %u", irn, offs); else lc_esnprintf(ia32_get_arg_env(), cmd_buf, SNPRINTF_BUF_LEN, "add %1S, %u", irn, offs);