From e97cf794c502cf2ed802e1594a3e6c1a3bb6922d Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Sat, 25 Mar 2006 11:17:15 +0000 Subject: [PATCH] make the names of the be_stack_dir_t more understandable --- ir/be/ia32/ia32_emitter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1