aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lgc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lgc.c b/lgc.c
index e76de73a..1388c00b 100644
--- a/lgc.c
+++ b/lgc.c
@@ -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*/
1162void luaC_step (lua_State *L) { 1162void 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}