diff options
Diffstat (limited to 'src/lj_gc.c')
-rw-r--r-- | src/lj_gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_gc.c b/src/lj_gc.c index 3e3d1ec5..e76175fc 100644 --- a/src/lj_gc.c +++ b/src/lj_gc.c | |||
@@ -274,7 +274,7 @@ static MSize gc_traverse_frames(global_State *g, lua_State *th) | |||
274 | TValue *ftop = frame; | 274 | TValue *ftop = frame; |
275 | if (isluafunc(fn)) ftop += funcproto(fn)->framesize; | 275 | if (isluafunc(fn)) ftop += funcproto(fn)->framesize; |
276 | if (ftop > top) top = ftop; | 276 | if (ftop > top) top = ftop; |
277 | gc_markobj(g, frame_gc(frame)); /* Need to mark hidden function (or L). */ | 277 | gc_markobj(g, fn); /* Need to mark hidden function (or L). */ |
278 | } | 278 | } |
279 | top++; /* Correct bias of -1 (frame == base-1). */ | 279 | top++; /* Correct bias of -1 (frame == base-1). */ |
280 | if (top > tvref(th->maxstack)) top = tvref(th->maxstack); | 280 | if (top > tvref(th->maxstack)) top = tvref(th->maxstack); |