Details (mostly comments)

This commit is contained in:
Roberto Ierusalimschy
2019-10-22 14:08:22 -03:00
parent 6e1aec7a67
commit e592f94a64
4 changed files with 28 additions and 9 deletions

1
lgc.c
View File

@@ -1565,6 +1565,7 @@ static void incstep (lua_State *L, global_State *g) {
*/
void luaC_step (lua_State *L) {
global_State *g = G(L);
lua_assert(!g->gcemergency);
if (g->gcrunning) { /* running? */
if(isdecGCmodegen(g))
genstep(L, g);