diff options
Diffstat (limited to 'src/lj_record.c')
-rw-r--r-- | src/lj_record.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_record.c b/src/lj_record.c index 7f37d6c6..4a50de1b 100644 --- a/src/lj_record.c +++ b/src/lj_record.c | |||
@@ -1860,6 +1860,8 @@ static void rec_varg(jit_State *J, BCReg dst, ptrdiff_t nresults) | |||
1860 | lj_trace_err_info(J, LJ_TRERR_NYIBC); | 1860 | lj_trace_err_info(J, LJ_TRERR_NYIBC); |
1861 | } | 1861 | } |
1862 | } | 1862 | } |
1863 | if (J->baseslot + J->maxslot >= LJ_MAX_JSLOTS) | ||
1864 | lj_trace_err(J, LJ_TRERR_STACKOV); | ||
1863 | } | 1865 | } |
1864 | 1866 | ||
1865 | /* -- Record allocations -------------------------------------------------- */ | 1867 | /* -- Record allocations -------------------------------------------------- */ |