mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
x64/LJ_GC64: Fix (currently unused) integer stores in asm_tvptr().
This commit is contained in:
parent
0a46ef1ac6
commit
f640ec713a
@ -1065,7 +1065,8 @@ static void asm_tvptr(ASMState *as, Reg dest, IRRef ref)
|
||||
emit_u32(as, irt_toitype(ir->t) << 15);
|
||||
emit_rmro(as, XO_ARITHi, XOg_OR, dest, 4);
|
||||
} else {
|
||||
emit_movmroi(as, dest, 4, (irt_toitype(ir->t) << 15) | 0x7fff);
|
||||
/* Currently, no caller passes integers that might end up here. */
|
||||
emit_movmroi(as, dest, 4, (irt_toitype(ir->t) << 15));
|
||||
}
|
||||
emit_movtomro(as, REX_64IR(ir, src), dest, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user