aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-29 11:02:17 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-29 11:02:17 -0200
commitc766e4103db888063c4f928747afd6eb448e306f (patch)
tree9d6f8a73487283054f0c07f315b0bdd3eaa9657e /lvm.c
parent36aecd4548e5cafc3b6b7ab9f6045db866cf7d9a (diff)
downloadlua-c766e4103db888063c4f928747afd6eb448e306f.tar.gz
lua-c766e4103db888063c4f928747afd6eb448e306f.tar.bz2
lua-c766e4103db888063c4f928747afd6eb448e306f.zip
'luaV_execute' gets call info as extra argument (it is always
available on call sites)
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lvm.c b/lvm.c
index 63e65675..05a4646e 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.319 2017/11/28 12:58:18 roberto Exp roberto $ 2** $Id: lvm.c,v 2.320 2017/11/28 14:51:00 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*/
@@ -823,8 +823,7 @@ void luaV_finishOp (lua_State *L) {
823#define vmbreak break 823#define vmbreak break
824 824
825 825
826void luaV_execute (lua_State *L) { 826void luaV_execute (lua_State *L, CallInfo *ci) {
827 CallInfo *ci = L->ci;
828 LClosure *cl = clLvalue(s2v(ci->func)); 827 LClosure *cl = clLvalue(s2v(ci->func));
829 TValue *k = cl->p->k; 828 TValue *k = cl->p->k;
830 StkId base = ci->func + 1; 829 StkId base = ci->func + 1;