diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-12-13 16:32:09 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-12-13 16:32:09 -0200 |
commit | 86431a2f1c668844c665f9d09e246de906b511d8 (patch) | |
tree | 643d503667b624d4faeecd6bed6cc51f9084cb00 /ltm.h | |
parent | 36cf8f3a3c44da00cc9255797153df3c02895379 (diff) | |
download | lua-86431a2f1c668844c665f9d09e246de906b511d8.tar.gz lua-86431a2f1c668844c665f9d09e246de906b511d8.tar.bz2 lua-86431a2f1c668844c665f9d09e246de906b511d8.zip |
new opcodes BANDK/BORK/BXORK. (They do not use immediate operands
because, too often, masks in bitwise operations are integers larger
than one byte.)
Diffstat (limited to 'ltm.h')
-rw-r--r-- | ltm.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 2.26 2017/09/27 18:59:08 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 2.27 2017/11/27 17:44:31 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 | */ |
@@ -68,6 +68,8 @@ LUAI_FUNC void luaT_callTMres (lua_State *L, const TValue *f, | |||
68 | const TValue *p1, const TValue *p2, StkId p3); | 68 | const TValue *p1, const TValue *p2, StkId p3); |
69 | LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, | 69 | LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, |
70 | StkId res, TMS event); | 70 | StkId res, TMS event); |
71 | LUAI_FUNC void luaT_trybinassocTM (lua_State *L, const TValue *p1, | ||
72 | const TValue *p2, StkId res, int inv, TMS event); | ||
71 | LUAI_FUNC void luaT_trybiniTM (lua_State *L, const TValue *p1, int i2, | 73 | LUAI_FUNC void luaT_trybiniTM (lua_State *L, const TValue *p1, int i2, |
72 | int inv, StkId res, TMS event); | 74 | int inv, StkId res, TMS event); |
73 | LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1, | 75 | LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1, |