aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_arm64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm_arm64.h')
-rw-r--r--src/lj_asm_arm64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_asm_arm64.h b/src/lj_asm_arm64.h
index bb972ad1..f51c6f76 100644
--- a/src/lj_asm_arm64.h
+++ b/src/lj_asm_arm64.h
@@ -1078,6 +1078,7 @@ static void asm_ahuvload(ASMState *as, IRIns *ir)
1078 } 1078 }
1079 type = ra_scratch(as, rset_clear(gpr, tmp)); 1079 type = ra_scratch(as, rset_clear(gpr, tmp));
1080 idx = asm_fuseahuref(as, ir->op1, &ofs, rset_clear(gpr, type), A64I_LDRx); 1080 idx = asm_fuseahuref(as, ir->op1, &ofs, rset_clear(gpr, type), A64I_LDRx);
1081 if (ir->o == IR_VLOAD) ofs += 8 * ir->op2;
1081 /* Always do the type check, even if the load result is unused. */ 1082 /* Always do the type check, even if the load result is unused. */
1082 asm_guardcc(as, irt_isnum(ir->t) ? CC_LS : CC_NE); 1083 asm_guardcc(as, irt_isnum(ir->t) ? CC_LS : CC_NE);
1083 if (irt_type(ir->t) >= IRT_NUM) { 1084 if (irt_type(ir->t) >= IRT_NUM) {