aboutsummaryrefslogtreecommitdiff
path: root/src/lj_snap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_snap.c')
-rw-r--r--src/lj_snap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c
index 21f27e1f..fee68ba5 100644
--- a/src/lj_snap.c
+++ b/src/lj_snap.c
@@ -171,6 +171,7 @@ static void snapshot_stack(jit_State *J, SnapShot *snap, MSize nsnapmap)
171 nent += snapshot_framelinks(J, p + nent, &snap->topslot); 171 nent += snapshot_framelinks(J, p + nent, &snap->topslot);
172 snap->mapofs = (uint32_t)nsnapmap; 172 snap->mapofs = (uint32_t)nsnapmap;
173 snap->ref = (IRRef1)J->cur.nins; 173 snap->ref = (IRRef1)J->cur.nins;
174 snap->mcofs = 0;
174 snap->nslots = (uint8_t)nslots; 175 snap->nslots = (uint8_t)nslots;
175 snap->count = 0; 176 snap->count = 0;
176 J->cur.nsnapmap = (uint32_t)(nsnapmap + nent); 177 J->cur.nsnapmap = (uint32_t)(nsnapmap + nent);