mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
x64: Always extend stack arguments to pointer size.
This commit is contained in:
parent
63981436f7
commit
2591b4524a
@ -496,7 +496,7 @@ static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args)
|
||||
emit_movmroi(as, RID_ESP, ofs, ir->i);
|
||||
} else {
|
||||
r = ra_alloc1(as, ref, RSET_GPR);
|
||||
emit_movtomro(as, REX_64IR(ir, r), RID_ESP, ofs);
|
||||
emit_movtomro(as, REX_64 + r, RID_ESP, ofs);
|
||||
}
|
||||
ofs += sizeof(intptr_t);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user