From 86431a2f1c668844c665f9d09e246de906b511d8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 13 Dec 2017 16:32:09 -0200 Subject: new opcodes BANDK/BORK/BXORK. (They do not use immediate operands because, too often, masks in bitwise operations are integers larger than one byte.) --- ltm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ltm.h') diff --git a/ltm.h b/ltm.h index c8fed77c..34dbc82c 100644 --- a/ltm.h +++ b/ltm.h @@ -1,5 +1,5 @@ /* -** $Id: ltm.h,v 2.26 2017/09/27 18:59:08 roberto Exp roberto $ +** $Id: ltm.h,v 2.27 2017/11/27 17:44:31 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -68,6 +68,8 @@ LUAI_FUNC void luaT_callTMres (lua_State *L, const TValue *f, const TValue *p1, const TValue *p2, StkId p3); LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, StkId res, TMS event); +LUAI_FUNC void luaT_trybinassocTM (lua_State *L, const TValue *p1, + const TValue *p2, StkId res, int inv, TMS event); LUAI_FUNC void luaT_trybiniTM (lua_State *L, const TValue *p1, int i2, int inv, StkId res, TMS event); LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1, -- cgit v1.2.3-55-g6feb