diff options
Diffstat (limited to 'src/lj_asm_x86.h')
-rw-r--r-- | src/lj_asm_x86.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index 7647b03f..4537e1d5 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h | |||
@@ -2379,7 +2379,7 @@ static void asm_gc_check(ASMState *as) | |||
2379 | asm_gencall(as, ci, args); | 2379 | asm_gencall(as, ci, args); |
2380 | tmp = ra_releasetmp(as, ASMREF_TMP1); | 2380 | tmp = ra_releasetmp(as, ASMREF_TMP1); |
2381 | emit_loada(as, tmp, J2G(as->J)); | 2381 | emit_loada(as, tmp, J2G(as->J)); |
2382 | emit_loadi(as, ra_releasetmp(as, ASMREF_TMP2), (int32_t)as->gcsteps); | 2382 | emit_loadi(as, ra_releasetmp(as, ASMREF_TMP2), as->gcsteps); |
2383 | /* Jump around GC step if GC total < GC threshold. */ | 2383 | /* Jump around GC step if GC total < GC threshold. */ |
2384 | emit_sjcc(as, CC_B, l_end); | 2384 | emit_sjcc(as, CC_B, l_end); |
2385 | emit_opgl(as, XO_ARITH(XOg_CMP), tmp, gc.threshold); | 2385 | emit_opgl(as, XO_ARITH(XOg_CMP), tmp, gc.threshold); |
@@ -2556,6 +2556,7 @@ static void asm_ir(ASMState *as, IRIns *ir) | |||
2556 | ra_alloc1(as, ir->op1, irt_isfp(ir->t) ? RSET_FPR : RSET_GPR); break; | 2556 | ra_alloc1(as, ir->op1, irt_isfp(ir->t) ? RSET_FPR : RSET_GPR); break; |
2557 | case IR_PHI: asm_phi(as, ir); break; | 2557 | case IR_PHI: asm_phi(as, ir); break; |
2558 | case IR_HIOP: asm_hiop(as, ir); break; | 2558 | case IR_HIOP: asm_hiop(as, ir); break; |
2559 | case IR_GCSTEP: asm_gcstep(as, ir); break; | ||
2559 | 2560 | ||
2560 | /* Guarded assertions. */ | 2561 | /* Guarded assertions. */ |
2561 | case IR_LT: case IR_GE: case IR_LE: case IR_GT: | 2562 | case IR_LT: case IR_GE: case IR_LE: case IR_GT: |