Improve last commit.

This commit is contained in:
Mike Pall 2023-11-12 16:11:11 +01:00
parent 45c88b7963
commit 113a168b79

View File

@ -473,7 +473,7 @@ static Reg asm_fuseload(ASMState *as, IRRef ref, RegSet allow)
} }
} else if (ir->o == IR_ALOAD || ir->o == IR_HLOAD || ir->o == IR_ULOAD) { } else if (ir->o == IR_ALOAD || ir->o == IR_HLOAD || ir->o == IR_ULOAD) {
if (noconflict(as, ref, ir->o + IRDELTA_L2S, 0) && if (noconflict(as, ref, ir->o + IRDELTA_L2S, 0) &&
noconflict(as, ref, IR_CALLS, 0) && /* Don't cross table.clear. */ noconflict(as, ref, IR_CALLS, 1) && /* Don't cross table.clear. */
!(LJ_GC64 && irt_isaddr(ir->t))) { !(LJ_GC64 && irt_isaddr(ir->t))) {
asm_fuseahuref(as, ir->op1, xallow); asm_fuseahuref(as, ir->op1, xallow);
return RID_MRM; return RID_MRM;