aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-07-16 17:49:02 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-07-16 17:49:02 -0300
commitfa26d294aef136aa4ec48c23b4b87b853df0e3da (patch)
treef8ccce58fe28fbc116f082766eecf3a50812c82d /lgc.c
parent5a761e3a1519eae7264209db8257b040c77556aa (diff)
downloadlua-fa26d294aef136aa4ec48c23b4b87b853df0e3da.tar.gz
lua-fa26d294aef136aa4ec48c23b4b87b853df0e3da.tar.bz2
lua-fa26d294aef136aa4ec48c23b4b87b853df0e3da.zip
new way to control `pc' of running functions
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lgc.c b/lgc.c
index a0e1bcdb..c28ea8b9 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 1.173 2003/05/16 18:58:39 roberto Exp roberto $ 2** $Id: lgc.c,v 1.174 2003/07/07 13:32:19 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*/
@@ -232,7 +232,6 @@ static void traversestack (GCState *st, lua_State *L1) {
232 lim = L1->top; 232 lim = L1->top;
233 for (ci = L1->base_ci; ci <= L1->ci; ci++) { 233 for (ci = L1->base_ci; ci <= L1->ci; ci++) {
234 lua_assert(ci->top <= L1->stack_last); 234 lua_assert(ci->top <= L1->stack_last);
235 lua_assert(ci->state & (CI_C | CI_HASFRAME | CI_SAVEDPC));
236 if (lim < ci->top) lim = ci->top; 235 if (lim < ci->top) lim = ci->top;
237 } 236 }
238 for (o = L1->stack; o < L1->top; o++) 237 for (o = L1->stack; o < L1->top; o++)