diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_asm_ppc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_ppc.h b/src/lj_asm_ppc.h index 46821515..1ac882ca 100644 --- a/src/lj_asm_ppc.h +++ b/src/lj_asm_ppc.h | |||
@@ -809,7 +809,7 @@ static void asm_fload(ASMState *as, IRIns *ir) | |||
809 | int32_t ofs; | 809 | int32_t ofs; |
810 | if (ir->op1 == REF_NIL) { | 810 | if (ir->op1 == REF_NIL) { |
811 | idx = RID_JGL; | 811 | idx = RID_JGL; |
812 | ofs = ir->op2 - 32768; | 812 | ofs = (ir->op2 << 2) - 32768; |
813 | } else { | 813 | } else { |
814 | idx = ra_alloc1(as, ir->op1, RSET_GPR); | 814 | idx = ra_alloc1(as, ir->op1, RSET_GPR); |
815 | if (ir->op2 == IRFL_TAB_ARRAY) { | 815 | if (ir->op2 == IRFL_TAB_ARRAY) { |