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

Function luaP_isOT

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

** Check whether instruction sets top for next instruction, that is, ** it results in multiple values. */

Source from the content-addressed store, hash-verified

115** it results in multiple values.
116*/
117int luaP_isOT (Instruction i) {
118 OpCode op = GET_OPCODE(i);
119 switch (op) {
120 case OP_TAILCALL: return 1;
121 default:
122 return testOTMode(op) && GETARG_C(i) == 0;
123 }
124}
125
126
127/*

Callers 1

luaK_finishFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected