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

Function binopr2TM

third-party/lua-5.5.0/src/lcode.c:1462–1465  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1460** Convert a BinOpr to a tag method (ORDER OPR - ORDER TM)
1461*/
1462l_sinline TMS binopr2TM (BinOpr opr) {
1463 lua_assert(OPR_ADD <= opr && opr <= OPR_SHR);
1464 return cast(TMS, (cast_int(opr) - cast_int(OPR_ADD)) + cast_int(TM_ADD));
1465}
1466
1467
1468/*

Callers 2

codebinexpvalFunction · 0.70
codebinKFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected