aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-02 11:47:43 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-02 11:47:43 -0300
commit78bc8e553d4190fc3b90be5b621fc0f3507586ef (patch)
tree9bd9317e1a56960b944549d44a20b91024574c19 /lvm.c
parentdad808a73a98a23729614b8814728d76b4e5d577 (diff)
downloadlua-78bc8e553d4190fc3b90be5b621fc0f3507586ef.tar.gz
lua-78bc8e553d4190fc3b90be5b621fc0f3507586ef.tar.bz2
lua-78bc8e553d4190fc3b90be5b621fc0f3507586ef.zip
new API for garbage collector
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lvm.c b/lvm.c
index 365fb42d..8d058673 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.136 2000/09/20 17:57:08 roberto Exp roberto $ 2** $Id: lvm.c,v 1.137 2000/09/25 14:48:42 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -351,10 +351,8 @@ StkId luaV_execute (lua_State *L, const Closure *cl, StkId base) {
351 lua_Hook linehook = L->linehook; 351 lua_Hook linehook = L->linehook;
352 infovalue(base-1)->pc = &pc; 352 infovalue(base-1)->pc = &pc;
353 luaD_checkstack(L, tf->maxstacksize+EXTRA_STACK); 353 luaD_checkstack(L, tf->maxstacksize+EXTRA_STACK);
354 if (tf->is_vararg) { /* varargs? */ 354 if (tf->is_vararg) /* varargs? */
355 adjust_varargs(L, base, tf->numparams); 355 adjust_varargs(L, base, tf->numparams);
356 luaC_checkGC(L);
357 }
358 else 356 else
359 luaD_adjusttop(L, base, tf->numparams); 357 luaD_adjusttop(L, base, tf->numparams);
360 top = L->top; 358 top = L->top;