From: Mike Pall Date: Mon, 3 Aug 2026 13:24:25 +0000 (+0200) Subject: x64/LJ_GC64: Fix XLOAD fusion. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;p=thirdparty%2FLuaJIT.git x64/LJ_GC64: Fix XLOAD fusion. Reported by FMiS. #1500 --- diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index 66914834..a2cf8fe9 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h @@ -347,8 +347,10 @@ static void asm_fusexref(ASMState *as, IRRef ref, RegSet allow) #else as->mrm.ofs = ir->i; as->mrm.base = RID_NONE; + return; #endif - } else if (ir->o == IR_STRREF) { + } + if (ir->o == IR_STRREF) { asm_fusestrref(as, ir, allow); } else { as->mrm.ofs = 0;