mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
8cc89332ff
@ -1721,6 +1721,11 @@ static void asm_head_side(ASMState *as)
|
|||||||
int pass3 = 0;
|
int pass3 = 0;
|
||||||
IRRef i;
|
IRRef i;
|
||||||
|
|
||||||
|
if (as->snapno && as->topslot > as->parent->topslot) {
|
||||||
|
/* Force snap #0 alloc to prevent register overwrite in stack check. */
|
||||||
|
as->snapno = 0;
|
||||||
|
asm_snap_alloc(as);
|
||||||
|
}
|
||||||
allow = asm_head_side_base(as, irp, allow);
|
allow = asm_head_side_base(as, irp, allow);
|
||||||
|
|
||||||
/* Scan all parent SLOADs and collect register dependencies. */
|
/* Scan all parent SLOADs and collect register dependencies. */
|
||||||
|
Loading…
Reference in New Issue
Block a user