Keep maximum frame extent in snap->topslot.

This commit is contained in:
Mike Pall
2011-11-20 17:56:47 +01:00
parent dc2a39e46d
commit f8a4769fb2
4 changed files with 37 additions and 53 deletions

View File

@@ -199,6 +199,7 @@ static void loop_subst_snap(jit_State *J, SnapShot *osnap,
snap->mapofs = (uint16_t)nmapofs;
snap->ref = (IRRef1)J->cur.nins;
snap->nslots = nslots;
snap->topslot = osnap->topslot;
snap->count = 0;
nmap = &J->cur.snapmap[nmapofs];
/* Substitute snapshot slots. */