From 5e870f86a255988ca85eda795adc31063ec1ac70 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 7 Mar 2001 10:22:55 -0300 Subject: optimization for tailcall does not seem to pay itself --- lvm.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lvm.c') diff --git a/lvm.c b/lvm.c index f707208d..99405763 100644 --- a/lvm.c +++ b/lvm.c @@ -1,5 +1,5 @@ /* -** $Id: lvm.c,v 1.172 2001/02/23 17:17:25 roberto Exp roberto $ +** $Id: lvm.c,v 1.173 2001/02/23 20:30:52 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -357,11 +357,6 @@ StkId luaV_execute (lua_State *L, const Closure *cl, StkId base) { L->top = base+tf->maxstacksize; break; } - case OP_TAILCALL: { - L->top = top; - luaD_call(L, base+GETARG_A(i), LUA_MULTRET); - return base+GETARG_B(i); - } case OP_PUSHNIL: { int n = GETARG_U(i); lua_assert(n>0); -- cgit v1.2.3-55-g6feb