mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
x64/LJ_GC64: Fix type-check-only variant of SLOAD.
Thanks to Peter Cawley.
This commit is contained in:
parent
71b7bc8834
commit
05fbdf565c
@ -1759,7 +1759,7 @@ static void asm_sload(ASMState *as, IRIns *ir)
|
||||
emit_i8(as, irt_toitype(t));
|
||||
emit_rr(as, XO_ARITHi8, XOg_CMP, tmp);
|
||||
emit_shifti(as, XOg_SAR|REX_64, tmp, 47);
|
||||
emit_rmro(as, XO_MOV, tmp|REX_64, base, ofs+4);
|
||||
emit_rmro(as, XO_MOV, tmp|REX_64, base, ofs);
|
||||
#else
|
||||
} else {
|
||||
emit_i8(as, irt_toitype(t));
|
||||
|
Loading…
Reference in New Issue
Block a user