diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lj_record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_record.c b/src/lj_record.c index 3c67e1a0..76699a9f 100644 --- a/src/lj_record.c +++ b/src/lj_record.c | |||
@@ -789,7 +789,7 @@ void lj_record_ret(jit_State *J, BCReg rbase, ptrdiff_t gotresults) | |||
789 | (void)getslot(J, rbase+i); /* Ensure all results have a reference. */ | 789 | (void)getslot(J, rbase+i); /* Ensure all results have a reference. */ |
790 | while (frame_ispcall(frame)) { /* Immediately resolve pcall() returns. */ | 790 | while (frame_ispcall(frame)) { /* Immediately resolve pcall() returns. */ |
791 | BCReg cbase = (BCReg)frame_delta(frame); | 791 | BCReg cbase = (BCReg)frame_delta(frame); |
792 | if (--J->framedepth < 0) | 792 | if (--J->framedepth <= 0) |
793 | lj_trace_err(J, LJ_TRERR_NYIRETL); | 793 | lj_trace_err(J, LJ_TRERR_NYIRETL); |
794 | lua_assert(J->baseslot > 1+LJ_FR2); | 794 | lua_assert(J->baseslot > 1+LJ_FR2); |
795 | gotresults++; | 795 | gotresults++; |