diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-07 13:18:04 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-07 13:18:04 -0200 |
commit | 318a9a5859826d7af0294664e206236fc8814319 (patch) | |
tree | 31a00af286880036e5ef165fbbdaf7df9a04cfc1 /ltm.h | |
parent | 73d797ce7ea4c547cb97e39633a71a242c7356c8 (diff) | |
download | lua-318a9a5859826d7af0294664e206236fc8814319.tar.gz lua-318a9a5859826d7af0294664e206236fc8814319.tar.bz2 lua-318a9a5859826d7af0294664e206236fc8814319.zip |
new opcode 'PREPVARARG'
(avoids test for vararg function in all function calls)
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.28 2017/12/13 18:32:09 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 2.29 2018/01/28 13:39:52 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, int nfixparams, int actual); | 80 | LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams, StkId base); |
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 | ||