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

Function luaP_isIT

third-party/lua-5.5.0/src/lopcodes.c:131–139  ·  view source on GitHub ↗

** Check whether instruction uses top from previous instruction, that is, ** it accepts multiple results. */

Source from the content-addressed store, hash-verified

129** it accepts multiple results.
130*/
131int luaP_isIT (Instruction i) {
132 OpCode op = GET_OPCODE(i);
133 switch (op) {
134 case OP_SETLIST:
135 return testITMode(GET_OPCODE(i)) && GETARG_vB(i) == 0;
136 default:
137 return testITMode(GET_OPCODE(i)) && GETARG_B(i) == 0;
138 }
139}
140

Callers 3

luaV_executeFunction · 0.85
luaG_traceexecFunction · 0.85
luaK_finishFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected