From 6d7eeb92409629a91ea2b607656483d16a0b1f3e Mon Sep 17 00:00:00 2001 From: Aleksey Demakov Date: Fri, 3 Feb 2006 18:50:14 +0000 Subject: [PATCH] fixed typo in JIT_OP_JUMP_TABLE --- ChangeLog | 4 ++++ jit/jit-rules-x86.sel | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8fb5089..66945c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-02-04 Aleksey Demakov + + * jit/jit-rules-x86.sel: fix a typo in JIT_OP_JUMP_TABLE. + 2006-01-30 Aleksey Demakov * jit/jit-rules-x86.c (_jit_gen_load_value): optimize loading diff --git a/jit/jit-rules-x86.sel b/jit/jit-rules-x86.sel index 974c504..75085fe 100644 --- a/jit/jit-rules-x86.sel +++ b/jit/jit-rules-x86.sel @@ -3392,7 +3392,6 @@ JIT_OP_JUMP_TABLE: manual jit_label_t *labels; jit_nint num_labels; jit_block_t block; - int address; reg = _jit_regs_load_value (gen, insn->dest, 0, @@ -3433,7 +3432,7 @@ JIT_OP_JUMP_TABLE: manual if(block->address) { - x86_imm_emit32(inst, address); + x86_imm_emit32(inst, block->address); } else {