diff options
-rw-r--r-- | src/lj_gc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lj_gc.c b/src/lj_gc.c index 37d42467..b5614ea2 100644 --- a/src/lj_gc.c +++ b/src/lj_gc.c | |||
@@ -674,7 +674,6 @@ int LJ_FASTCALL lj_gc_step(lua_State *L) | |||
674 | do { | 674 | do { |
675 | lim -= (MSize)gc_onestep(L); | 675 | lim -= (MSize)gc_onestep(L); |
676 | if (g->gc.state == GCSpause) { | 676 | if (g->gc.state == GCSpause) { |
677 | lua_assert(g->gc.total >= g->gc.estimate); | ||
678 | g->gc.threshold = (g->gc.estimate/100) * g->gc.pause; | 677 | g->gc.threshold = (g->gc.estimate/100) * g->gc.pause; |
679 | g->vmstate = ostate; | 678 | g->vmstate = ostate; |
680 | return 1; /* Finished a GC cycle. */ | 679 | return 1; /* Finished a GC cycle. */ |