diff options
Diffstat (limited to 'lgc.c')
| -rw-r--r-- | lgc.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -1565,6 +1565,7 @@ static void incstep (lua_State *L, global_State *g) { | |||
| 1565 | */ | 1565 | */ |
| 1566 | void luaC_step (lua_State *L) { | 1566 | void 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); |
