aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-10-03 09:36:17 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-10-03 09:36:17 -0300
commitfdae4b9453fa7432f5b1a88c55dca33f1c861263 (patch)
tree3a2faf401cabcdef86e43940e38210f8ee204ed7
parent84b6581287298e2ff70dac7e95bdb8f64292a752 (diff)
downloadlua-fdae4b9453fa7432f5b1a88c55dca33f1c861263.tar.gz
lua-fdae4b9453fa7432f5b1a88c55dca33f1c861263.tar.bz2
lua-fdae4b9453fa7432f5b1a88c55dca33f1c861263.zip
removed commented-out line (for debugging)
-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}