diff options
Diffstat (limited to 'src/lj_asm_arm.h')
-rw-r--r-- | src/lj_asm_arm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h index c08b6196..e6ab3573 100644 --- a/src/lj_asm_arm.h +++ b/src/lj_asm_arm.h | |||
@@ -1532,7 +1532,7 @@ static void asm_gc_check(ASMState *as) | |||
1532 | asm_gencall(as, ci, args); | 1532 | asm_gencall(as, ci, args); |
1533 | tmp1 = ra_releasetmp(as, ASMREF_TMP1); | 1533 | tmp1 = ra_releasetmp(as, ASMREF_TMP1); |
1534 | tmp2 = ra_releasetmp(as, ASMREF_TMP2); | 1534 | tmp2 = ra_releasetmp(as, ASMREF_TMP2); |
1535 | emit_loadi(as, tmp2, (int32_t)as->gcsteps); | 1535 | emit_loadi(as, tmp2, as->gcsteps); |
1536 | /* Jump around GC step if GC total < GC threshold. */ | 1536 | /* Jump around GC step if GC total < GC threshold. */ |
1537 | emit_branch(as, ARMF_CC(ARMI_B, CC_LS), l_end); | 1537 | emit_branch(as, ARMF_CC(ARMI_B, CC_LS), l_end); |
1538 | emit_nm(as, ARMI_CMP, RID_TMP, tmp2); | 1538 | emit_nm(as, ARMI_CMP, RID_TMP, tmp2); |
@@ -1646,6 +1646,7 @@ static void asm_ir(ASMState *as, IRIns *ir) | |||
1646 | case IR_USE: ra_alloc1(as, ir->op1, RSET_GPR); break; | 1646 | case IR_USE: ra_alloc1(as, ir->op1, RSET_GPR); break; |
1647 | case IR_PHI: asm_phi(as, ir); break; | 1647 | case IR_PHI: asm_phi(as, ir); break; |
1648 | case IR_HIOP: asm_hiop(as, ir); break; | 1648 | case IR_HIOP: asm_hiop(as, ir); break; |
1649 | case IR_GCSTEP: asm_gcstep(as, ir); break; | ||
1649 | 1650 | ||
1650 | /* Guarded assertions. */ | 1651 | /* Guarded assertions. */ |
1651 | case IR_EQ: case IR_NE: | 1652 | case IR_EQ: case IR_NE: |