Fix slot flags in snapshot replay.

This commit is contained in:
Mike Pall 2012-07-20 18:52:29 +02:00
parent f1b4fa844b
commit 834ff6d36d

View File

@ -384,7 +384,7 @@ static TRef snap_dedup(jit_State *J, SnapEntry *map, MSize nmax, IRRef ref)
MSize j;
for (j = 0; j < nmax; j++)
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;
}