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 30b9efc1..154ff380 100644
--- a/src/lj_record.c
+++ b/src/lj_record.c
@@ -1389,6 +1389,7 @@ static void check_call_unroll(jit_State *J, TraceNo lnk)
1389 int32_t count = 0; 1389 int32_t count = 0;
1390 if ((J->pt->flags & PROTO_VARARG)) depth--; /* Vararg frame still missing. */ 1390 if ((J->pt->flags & PROTO_VARARG)) depth--; /* Vararg frame still missing. */
1391 for (; depth > 0; depth--) { /* Count frames with same prototype. */ 1391 for (; depth > 0; depth--) { /* Count frames with same prototype. */
1392 if (frame_iscont(frame)) depth--;
1392 frame = frame_prev(frame); 1393 frame = frame_prev(frame);
1393 if (mref(frame_func(frame)->l.pc, void) == pc) 1394 if (mref(frame_func(frame)->l.pc, void) == pc)
1394 count++; 1395 count++;