+2008-01-16 Klaus Treichel <ktreichel@web.de>
+
+ * jit/jit-gen-x86.h: Use the suppied base register instead of
+ register no. 5 (EBP) in x86_memindex_emit for displacements greater than
+ x86_int8 (<-128 or >127).
+
2008-01-04 Klaus Treichel <ktreichel@web.de>
* jit/jit-opcode.c: Add the nint argument to the return_small_struct and
x86_imm_emit8 ((inst), (disp)); \
} else { \
x86_address_byte ((inst), 2, (r), 4); \
- x86_address_byte ((inst), (shift), (indexreg), 5); \
+ x86_address_byte ((inst), (shift), (indexreg), (basereg)); \
x86_imm_emit32 ((inst), (disp)); \
} \
} while (0)