aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-11-02 16:48:07 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-11-02 16:48:07 -0200
commitff1289a361eb2b077d0df83eaed21647444541ef (patch)
treecbbe9372b6a317c06ff1724b36734bdc45df5441 /lvm.c
parentcd73f3ccc5e85bc2b3e45477e2f6e3b705bf3c24 (diff)
downloadlua-ff1289a361eb2b077d0df83eaed21647444541ef.tar.gz
lua-ff1289a361eb2b077d0df83eaed21647444541ef.tar.bz2
lua-ff1289a361eb2b077d0df83eaed21647444541ef.zip
in 'luaD_call', use two functions instead of one with fixed boolean
argument
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 27ade135..8894df99 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.258 2015/11/02 11:43:17 roberto Exp roberto $ 2** $Id: lvm.c,v 2.259 2015/11/02 14:06:01 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*/
@@ -1226,7 +1226,7 @@ void luaV_execute (lua_State *L) {
1226 setobjs2s(L, cb+1, ra+1); 1226 setobjs2s(L, cb+1, ra+1);
1227 setobjs2s(L, cb, ra); 1227 setobjs2s(L, cb, ra);
1228 L->top = cb + 3; /* func. + 2 args (state and index) */ 1228 L->top = cb + 3; /* func. + 2 args (state and index) */
1229 Protect(luaD_call(L, cb, GETARG_C(i), 1)); 1229 Protect(luaD_call(L, cb, GETARG_C(i)));
1230 L->top = ci->top; 1230 L->top = ci->top;
1231 i = *(ci->u.l.savedpc++); /* go to next instruction */ 1231 i = *(ci->u.l.savedpc++); /* go to next instruction */
1232 ra = RA(i); 1232 ra = RA(i);