]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
fixed JIT_OP_STORE_RELATIVE_LONG
authorAleksey Demakov <ademakov@gmail.com>
Sun, 26 Feb 2006 17:08:02 +0000 (17:08 +0000)
committerAleksey Demakov <ademakov@gmail.com>
Sun, 26 Feb 2006 17:08:02 +0000 (17:08 +0000)
ChangeLog
jit/jit-rules-x86.sel

index 9a961fe87e1e50e92e3a753d1e445e4a91280ee9..4919f3fb87ad95f561c458d24b1baaca23908e2b 100644 (file)
--- a/ChangeLog
+++ b/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).
 
index 5c433203de93cd6278b3cb3b8f85afb14b511e18..b93c5b9ebcd52af8db850199687e56fa1bfed6ef 100644 (file)
@@ -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;
                }