diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lj_record.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_record.c b/src/lj_record.c index 3d146cf1..ce9e20de 100644 --- a/src/lj_record.c +++ b/src/lj_record.c | |||
| @@ -1471,6 +1471,7 @@ static void check_call_unroll(jit_State *J, TraceNo lnk) | |||
| 1471 | int32_t count = 0; | 1471 | int32_t count = 0; |
| 1472 | if ((J->pt->flags & PROTO_VARARG)) depth--; /* Vararg frame still missing. */ | 1472 | if ((J->pt->flags & PROTO_VARARG)) depth--; /* Vararg frame still missing. */ |
| 1473 | for (; depth > 0; depth--) { /* Count frames with same prototype. */ | 1473 | for (; depth > 0; depth--) { /* Count frames with same prototype. */ |
| 1474 | if (frame_iscont(frame)) depth--; | ||
| 1474 | frame = frame_prev(frame); | 1475 | frame = frame_prev(frame); |
| 1475 | if (mref(frame_func(frame)->l.pc, void) == pc) | 1476 | if (mref(frame_func(frame)->l.pc, void) == pc) |
| 1476 | count++; | 1477 | count++; |
