diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-02 11:47:43 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-02 11:47:43 -0300 |
commit | 78bc8e553d4190fc3b90be5b621fc0f3507586ef (patch) | |
tree | 9bd9317e1a56960b944549d44a20b91024574c19 /lvm.c | |
parent | dad808a73a98a23729614b8814728d76b4e5d577 (diff) | |
download | lua-78bc8e553d4190fc3b90be5b621fc0f3507586ef.tar.gz lua-78bc8e553d4190fc3b90be5b621fc0f3507586ef.tar.bz2 lua-78bc8e553d4190fc3b90be5b621fc0f3507586ef.zip |
new API for garbage collector
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |