From 1817dfc3016efc09cfa2c7aee06b22fe1d130652 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 4 Mar 2009 10:32:29 -0300 Subject: initial separation, in CallInfo, of what is relevant only to Lua functions or only to C functions --- lvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lvm.c') diff --git a/lvm.c b/lvm.c index a83be238..2b54266f 100644 --- a/lvm.c +++ b/lvm.c @@ -1,5 +1,5 @@ /* -** $Id: lvm.c,v 2.81 2009/02/16 20:09:28 roberto Exp roberto $ +** $Id: lvm.c,v 2.82 2009/03/02 16:34:23 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -622,7 +622,7 @@ void luaV_execute (lua_State *L) { ci->top = L->top = func+aux; /* correct top */ lua_assert(L->top == L->base + clvalue(func)->l.p->maxstacksize); ci->savedpc = L->savedpc; - ci->tailcalls++; /* one more call lost */ + ci->u.l.tailcalls++; /* one more call lost */ L->ci--; /* remove new frame */ goto reentry; } -- cgit v1.2.3-55-g6feb