From 57dd1e91234146c9d15de4038d37527186b808cb Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sun, 21 Oct 2007 14:19:49 +0000 Subject: [PATCH] fix address mode calculation: we can not eat immediates for shifted values (well we could shift them, but that is not implemented yet and isn't even possible for symconsts...) [r16296] --- ir/be/ia32/ia32_address_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/be/ia32/ia32_address_mode.c b/ir/be/ia32/ia32_address_mode.c index 7ab3dee2c..02aa05ccd 100644 --- a/ir/be/ia32/ia32_address_mode.c +++ b/ir/be/ia32/ia32_address_mode.c @@ -291,7 +291,7 @@ static int eat_shl(ia32_address_t *addr, ir_node *node) #endif addr->scale = val; - addr->index = eat_immediates(addr, shifted_val, 0); + addr->index = shifted_val; return 1; } -- 2.20.1