MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / binopr2TM

Function binopr2TM

third-party/lua-5.4.6/src/lcode.c:1381–1384  ·  view source on GitHub ↗

** Convert a BinOpr to a tag method (ORDER OPR - ORDER TM) */

Source from the content-addressed store, hash-verified

1379** Convert a BinOpr to a tag method (ORDER OPR - ORDER TM)
1380*/
1381l_sinline TMS binopr2TM (BinOpr opr) {
1382 lua_assert(OPR_ADD <= opr && opr <= OPR_SHR);
1383 return cast(TMS, (cast_int(opr) - cast_int(OPR_ADD)) + cast_int(TM_ADD));
1384}
1385
1386
1387/*

Callers 2

codebinexpvalFunction · 0.70
codebinKFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected