aboutsummaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-12-13 16:32:09 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-12-13 16:32:09 -0200
commit86431a2f1c668844c665f9d09e246de906b511d8 (patch)
tree643d503667b624d4faeecd6bed6cc51f9084cb00 /ltm.h
parent36cf8f3a3c44da00cc9255797153df3c02895379 (diff)
downloadlua-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ltm.h b/ltm.h
index c8fed77c..34dbc82c 100644
--- a/ltm.h
+++ b/ltm.h
@@ -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);
69LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, 69LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2,
70 StkId res, TMS event); 70 StkId res, TMS event);
71LUAI_FUNC void luaT_trybinassocTM (lua_State *L, const TValue *p1,
72 const TValue *p2, StkId res, int inv, TMS event);
71LUAI_FUNC void luaT_trybiniTM (lua_State *L, const TValue *p1, int i2, 73LUAI_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);
73LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1, 75LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1,