aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lgc.c b/lgc.c
index cf62a45c..db519c6d 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1565,6 +1565,7 @@ static void incstep (lua_State *L, global_State *g) {
1565*/ 1565*/
1566void luaC_step (lua_State *L) { 1566void luaC_step (lua_State *L) {
1567 global_State *g = G(L); 1567 global_State *g = G(L);
1568 lua_assert(!g->gcemergency);
1568 if (g->gcrunning) { /* running? */ 1569 if (g->gcrunning) { /* running? */
1569 if(isdecGCmodegen(g)) 1570 if(isdecGCmodegen(g))
1570 genstep(L, g); 1571 genstep(L, g);