diff options
Diffstat (limited to 'src/lj_snap.c')
-rw-r--r-- | src/lj_snap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c index c2aff3db..f262e1c9 100644 --- a/src/lj_snap.c +++ b/src/lj_snap.c | |||
@@ -259,8 +259,8 @@ void lj_snap_restore(jit_State *J, void *exptr) | |||
259 | } | 259 | } |
260 | } | 260 | } |
261 | } | 261 | } |
262 | } else if (newbase) { | 262 | } else { |
263 | setnilV(o); /* Clear unreferenced slots of newly added frames. */ | 263 | lua_assert(!newbase); |
264 | } | 264 | } |
265 | } | 265 | } |
266 | if (newbase) L->base = newbase; | 266 | if (newbase) L->base = newbase; |