diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-01-28 11:39:52 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-01-28 11:39:52 -0200 |
commit | 89110986d7a9e81960261ae682780d5fd06dc4ac (patch) | |
tree | 5fe3d0039b2152223b58adc33a4b6c916fc853d8 /ltm.h | |
parent | 53979dfe0dbd7eba767ff37b1148d1e4dc9f8294 (diff) | |
download | lua-89110986d7a9e81960261ae682780d5fd06dc4ac.tar.gz lua-89110986d7a9e81960261ae682780d5fd06dc4ac.tar.bz2 lua-89110986d7a9e81960261ae682780d5fd06dc4ac.zip |
bug in tailcall of vararg functions
(when adjusting missing parameters)
Diffstat (limited to 'ltm.h')
-rw-r--r-- | ltm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 2.27 2017/11/27 17:44:31 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 2.28 2017/12/13 18:32:09 roberto Exp roberto $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -77,7 +77,7 @@ LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1, | |||
77 | LUAI_FUNC int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2, | 77 | LUAI_FUNC int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2, |
78 | int inv, TMS event); | 78 | int inv, TMS event); |
79 | 79 | ||
80 | LUAI_FUNC void luaT_adjustvarargs (lua_State *L, Proto *p, int actual); | 80 | LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams, int actual); |
81 | LUAI_FUNC void luaT_getvarargs (lua_State *L, TValue *t, StkId where, | 81 | LUAI_FUNC void luaT_getvarargs (lua_State *L, TValue *t, StkId where, |
82 | int wanted); | 82 | int wanted); |
83 | 83 | ||