diff options
-rw-r--r-- | lgc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 2.135 2012/07/04 15:52:38 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 2.136 2012/09/11 12:53:08 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1161,7 +1161,6 @@ void luaC_forcestep (lua_State *L) { | |||
1161 | */ | 1161 | */ |
1162 | void luaC_step (lua_State *L) { | 1162 | void luaC_step (lua_State *L) { |
1163 | global_State *g = G(L); | 1163 | global_State *g = G(L); |
1164 | /* lua_checkmemory(L); */ /* for internal debugging */ | ||
1165 | if (g->gcrunning) luaC_forcestep(L); | 1164 | if (g->gcrunning) luaC_forcestep(L); |
1166 | else luaE_setdebt(g, -GCSTEPSIZE); /* avoid being called too often */ | 1165 | else luaE_setdebt(g, -GCSTEPSIZE); /* avoid being called too often */ |
1167 | } | 1166 | } |