From: Christoph Mallon Date: Tue, 23 Oct 2007 21:48:57 +0000 (+0000) Subject: Clarify a comment. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=8002857b06a68e3caaa530fda07f2151e91956f8;p=libfirm Clarify a comment. [r16321] --- diff --git a/ir/be/ia32/ia32_address_mode.c b/ir/be/ia32/ia32_address_mode.c index 12ac64e4e..d6e4359be 100644 --- a/ir/be/ia32/ia32_address_mode.c +++ b/ir/be/ia32/ia32_address_mode.c @@ -351,8 +351,9 @@ void ia32_create_address_mode(ia32_address_t *addr, ir_node *node, int force) } /* starting point Add, Sub or Shl, FrameAddr */ - if(is_Shl(node)) { /* we don't want to eat add x, x as shl here, so only - test for real Shl instructions */ + if(is_Shl(node)) { + /* We don't want to eat add x, x as shl here, so only test for real Shl + * instructions, because we want the former as Lea x, x, not Shl x, 1 */ if(eat_shl(addr, node)) return; } else if(is_immediate(addr, node, 0)) {