Browse Source

fixed JIT_OP_STORE_RELATIVE_LONG

cache-refactoring
Aleksey Demakov 19 years ago
parent
commit
e60b31edc2
  1. 2
      ChangeLog
  2. 2
      jit/jit-rules-x86.sel

2
ChangeLog

@ -1,5 +1,7 @@
2006-02-26 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-rules-x86.sel: fix JIT_OP_STORE_RELATIVE_LONG.
* jit/jit-gen-x86.h (x86_pop_mem, x86_pop_membase): fix opcode --
it was 0x87 (xchg) instead of 0x8f (pop).

2
jit/jit-rules-x86.sel

@ -2633,7 +2633,7 @@ JIT_OP_STORE_RELATIVE_LONG: manual
(inst, reg, insn->value2->address,
(jit_int)(const_value & jit_max_uint), 4);
x86_mov_membase_imm
(inst, reg, insn->value2->address,
(inst, reg, insn->value2->address + 4,
(jit_int)((const_value >> 32) & jit_max_uint), 4);
gen->posn.ptr = inst;
}

Loading…
Cancel
Save