aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-03-07 10:22:55 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-03-07 10:22:55 -0300
commit5e870f86a255988ca85eda795adc31063ec1ac70 (patch)
tree72c428d85c63cd8930217497652bfc387a57ba83 /lvm.c
parentf81b8adb3f2738d2895511082793af622e8581d8 (diff)
downloadlua-5e870f86a255988ca85eda795adc31063ec1ac70.tar.gz
lua-5e870f86a255988ca85eda795adc31063ec1ac70.tar.bz2
lua-5e870f86a255988ca85eda795adc31063ec1ac70.zip
optimization for tailcall does not seem to pay itself
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lvm.c b/lvm.c
index f707208d..99405763 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.172 2001/02/23 17:17:25 roberto Exp roberto $ 2** $Id: lvm.c,v 1.173 2001/02/23 20:30:52 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*/
@@ -357,11 +357,6 @@ StkId luaV_execute (lua_State *L, const Closure *cl, StkId base) {
357 L->top = base+tf->maxstacksize; 357 L->top = base+tf->maxstacksize;
358 break; 358 break;
359 } 359 }
360 case OP_TAILCALL: {
361 L->top = top;
362 luaD_call(L, base+GETARG_A(i), LUA_MULTRET);
363 return base+GETARG_B(i);
364 }
365 case OP_PUSHNIL: { 360 case OP_PUSHNIL: {
366 int n = GETARG_U(i); 361 int n = GETARG_U(i);
367 lua_assert(n>0); 362 lua_assert(n>0);