mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix code generation for Intel Atom in x64 mode.
This commit is contained in:
parent
6c43767c23
commit
1cb58fb7bb
@ -4394,7 +4394,7 @@ void lj_asm_trace(jit_State *J, GCtrace *T)
|
||||
|
||||
if (!as->loopref) {
|
||||
/* Leave room for ESP adjustment: add esp, imm or lea esp, [esp+imm] */
|
||||
as->mcp -= (as->flags & JIT_F_LEA_AGU) ? 7 : 6 + (LJ_64 ? 1 : 0);
|
||||
as->mcp -= ((as->flags & JIT_F_LEA_AGU) ? 7 : 6) + (LJ_64 ? 1 : 0);
|
||||
as->invmcp = NULL;
|
||||
asm_tail_link(as);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user