diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-02 16:48:07 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-02 16:48:07 -0200 |
| commit | ff1289a361eb2b077d0df83eaed21647444541ef (patch) | |
| tree | cbbe9372b6a317c06ff1724b36734bdc45df5441 /lvm.c | |
| parent | cd73f3ccc5e85bc2b3e45477e2f6e3b705bf3c24 (diff) | |
| download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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); |
