summaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-03-04 10:32:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-03-04 10:32:29 -0300
commit1817dfc3016efc09cfa2c7aee06b22fe1d130652 (patch)
tree3de048bf2b14c6547f9ba15134b6b7fd0455f844 /lvm.c
parent7837e34e567e174e21c7971439e6a4a093addb06 (diff)
downloadlua-1817dfc3016efc09cfa2c7aee06b22fe1d130652.tar.gz
lua-1817dfc3016efc09cfa2c7aee06b22fe1d130652.tar.bz2
lua-1817dfc3016efc09cfa2c7aee06b22fe1d130652.zip
initial separation, in CallInfo, of what is relevant only to Lua
functions or only to C functions
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index a83be238..2b54266f 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.81 2009/02/16 20:09:28 roberto Exp roberto $ 2** $Id: lvm.c,v 2.82 2009/03/02 16:34:23 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*/
@@ -622,7 +622,7 @@ void luaV_execute (lua_State *L) {
622 ci->top = L->top = func+aux; /* correct top */ 622 ci->top = L->top = func+aux; /* correct top */
623 lua_assert(L->top == L->base + clvalue(func)->l.p->maxstacksize); 623 lua_assert(L->top == L->base + clvalue(func)->l.p->maxstacksize);
624 ci->savedpc = L->savedpc; 624 ci->savedpc = L->savedpc;
625 ci->tailcalls++; /* one more call lost */ 625 ci->u.l.tailcalls++; /* one more call lost */
626 L->ci--; /* remove new frame */ 626 L->ci--; /* remove new frame */
627 goto reentry; 627 goto reentry;
628 } 628 }