Skip to content

Commit

Permalink
raptorjit: amend prev. commit, do not clear SNAPCOUNT_DONE
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Dec 4, 2019
1 parent dfadac8 commit b7c50cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/luajit/src/lj_trace.c
Expand Up @@ -371,7 +371,8 @@ static void trace_clearsnapcounts(jit_State *J)
t = traceref(J, i);
if (t != NULL)
for (s = 0; s < t->nsnap; s++)
t->snap[s].count = 0;
if (t->snap[s].count != SNAPCOUNT_DONE)
t->snap[s].count = 0;
}
}

Expand Down

0 comments on commit b7c50cb

Please sign in to comment.