mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-12 17:24:09 +00:00
Fix slot flags in snapshot replay.
This commit is contained in:
parent
f1b4fa844b
commit
834ff6d36d
@ -384,7 +384,7 @@ static TRef snap_dedup(jit_State *J, SnapEntry *map, MSize nmax, IRRef ref)
|
|||||||
MSize j;
|
MSize j;
|
||||||
for (j = 0; j < nmax; j++)
|
for (j = 0; j < nmax; j++)
|
||||||
if (snap_ref(map[j]) == ref)
|
if (snap_ref(map[j]) == ref)
|
||||||
return J->slot[snap_slot(map[j])];
|
return J->slot[snap_slot(map[j])] & ~(SNAP_CONT|SNAP_FRAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user