aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_record.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_record.c b/src/lj_record.c
index bc4e8a6d..651bbf55 100644
--- a/src/lj_record.c
+++ b/src/lj_record.c
@@ -1602,6 +1602,8 @@ static void rec_varg(jit_State *J, BCReg dst, ptrdiff_t nresults)
1602 lj_trace_err_info(J, LJ_TRERR_NYIBC); 1602 lj_trace_err_info(J, LJ_TRERR_NYIBC);
1603 } 1603 }
1604 } 1604 }
1605 if (J->baseslot + J->maxslot >= LJ_MAX_JSLOTS)
1606 lj_trace_err(J, LJ_TRERR_STACKOV);
1605} 1607}
1606 1608
1607/* -- Record allocations -------------------------------------------------- */ 1609/* -- Record allocations -------------------------------------------------- */