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

Function poptbclist

third-party/lua-5.4.6/src/lfunc.c:213–220  ·  view source on GitHub ↗

** Remove first element from the tbclist plus its dummy nodes. */

Source from the content-addressed store, hash-verified

211** Remove first element from the tbclist plus its dummy nodes.
212*/
213static void poptbclist (lua_State *L) {
214 StkId tbc = L->tbclist.p;
215 lua_assert(tbc->tbclist.delta > 0); /* first element cannot be dummy */
216 tbc -= tbc->tbclist.delta;
217 while (tbc > L->stack.p && tbc->tbclist.delta == 0)
218 tbc -= MAXDELTA; /* remove dummy nodes */
219 L->tbclist.p = tbc;
220}
221
222
223/*

Callers 1

luaF_closeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected