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

Function traverseLclosure

third-party/lua-5.2.4/src/lgc.c:486–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486static lu_mem traverseLclosure (global_State *g, LClosure *cl) {
487 int i;
488 markobject(g, cl->p); /* mark its prototype */
489 for (i = 0; i < cl->nupvalues; i++) /* mark its upvalues */
490 markobject(g, cl->upvals[i]);
491 return sizeLclosure(cl->nupvalues);
492}
493
494
495static lu_mem traversestack (global_State *g, lua_State *th) {

Callers 1

propagatemarkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected