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

Function unopr2op

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

** Convert a UnOpr to an OpCode (ORDER OPR - ORDER OP) */

Source from the content-addressed store, hash-verified

1370** Convert a UnOpr to an OpCode (ORDER OPR - ORDER OP)
1371*/
1372l_sinline OpCode unopr2op (UnOpr opr) {
1373 return cast(OpCode, (cast_int(opr) - cast_int(OPR_MINUS)) +
1374 cast_int(OP_UNM));
1375}
1376
1377
1378/*

Callers 1

luaK_prefixFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected