new way to control `pc' of running functions
This commit is contained in:
3
lgc.c
3
lgc.c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lgc.c,v 1.173 2003/05/16 18:58:39 roberto Exp roberto $
|
||||
** $Id: lgc.c,v 1.174 2003/07/07 13:32:19 roberto Exp roberto $
|
||||
** Garbage Collector
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -232,7 +232,6 @@ static void traversestack (GCState *st, lua_State *L1) {
|
||||
lim = L1->top;
|
||||
for (ci = L1->base_ci; ci <= L1->ci; ci++) {
|
||||
lua_assert(ci->top <= L1->stack_last);
|
||||
lua_assert(ci->state & (CI_C | CI_HASFRAME | CI_SAVEDPC));
|
||||
if (lim < ci->top) lim = ci->top;
|
||||
}
|
||||
for (o = L1->stack; o < L1->top; o++)
|
||||
|
||||
Reference in New Issue
Block a user