aboutsummaryrefslogtreecommitdiff
path: root/src/lj_record.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 a858ffa9..448db0cf 100644
--- a/src/lj_record.c
+++ b/src/lj_record.c
@@ -2263,6 +2263,8 @@ void lj_record_ins(jit_State *J)
2263 rc = lj_ir_kint(J, (int32_t)(int16_t)rc); 2263 rc = lj_ir_kint(J, (int32_t)(int16_t)rc);
2264 break; 2264 break;
2265 case BC_KNIL: 2265 case BC_KNIL:
2266 if (LJ_FR2 && ra > J->maxslot)
2267 J->base[ra-1] = 0;
2266 while (ra <= rc) 2268 while (ra <= rc)
2267 J->base[ra++] = TREF_NIL; 2269 J->base[ra++] = TREF_NIL;
2268 if (rc >= J->maxslot) J->maxslot = rc+1; 2270 if (rc >= J->maxslot) J->maxslot = rc+1;