MCPcopy Create free account
hub / github.com/F-Stack/f-stack / traverseLclosure

Function traverseLclosure

freebsd/contrib/openzfs/module/lua/lgc.c:485–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

propagatemarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected