diff options
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; |