summaryrefslogtreecommitdiff
path: root/src/lj_record.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_record.c')
-rw-r--r--src/lj_record.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_record.c b/src/lj_record.c
index c150e2e4..4939d3af 100644
--- a/src/lj_record.c
+++ b/src/lj_record.c
@@ -1996,6 +1996,7 @@ void lj_record_setup(jit_State *J)
1996 J->cur.nk = REF_TRUE; 1996 J->cur.nk = REF_TRUE;
1997 1997
1998 J->startpc = J->pc; 1998 J->startpc = J->pc;
1999 setmref(J->cur.startpc, J->pc);
1999 if (J->parent) { /* Side trace. */ 2000 if (J->parent) { /* Side trace. */
2000 GCtrace *T = traceref(J, J->parent); 2001 GCtrace *T = traceref(J, J->parent);
2001 TraceNo root = T->root ? T->root : J->parent; 2002 TraceNo root = T->root ? T->root : J->parent;