diff options
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1409,7 +1409,7 @@ static void stepgenfull (lua_State *L, global_State *g) { | |||
1409 | setminordebt(g); | 1409 | setminordebt(g); |
1410 | } | 1410 | } |
1411 | else { /* another bad collection; stay in incremental mode */ | 1411 | else { /* another bad collection; stay in incremental mode */ |
1412 | g->GCestimate = gettotalbytes(g); /* first estimate */; | 1412 | g->GCestimate = gettotalbytes(g); /* first estimate */ |
1413 | entersweep(L); | 1413 | entersweep(L); |
1414 | luaC_runtilstate(L, bitmask(GCSpause)); /* finish collection */ | 1414 | luaC_runtilstate(L, bitmask(GCSpause)); /* finish collection */ |
1415 | setpause(g); | 1415 | setpause(g); |
@@ -1604,7 +1604,7 @@ static lu_mem singlestep (lua_State *L) { | |||
1604 | case GCSenteratomic: { | 1604 | case GCSenteratomic: { |
1605 | work = atomic(L); /* work is what was traversed by 'atomic' */ | 1605 | work = atomic(L); /* work is what was traversed by 'atomic' */ |
1606 | entersweep(L); | 1606 | entersweep(L); |
1607 | g->GCestimate = gettotalbytes(g); /* first estimate */; | 1607 | g->GCestimate = gettotalbytes(g); /* first estimate */ |
1608 | break; | 1608 | break; |
1609 | } | 1609 | } |
1610 | case GCSswpallgc: { /* sweep "regular" objects */ | 1610 | case GCSswpallgc: { /* sweep "regular" objects */ |