MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / remarkupvals

Function remarkupvals

deps/lua/src/lgc.c:515–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513
514
515static void remarkupvals (global_State *g) {
516 UpVal *uv;
517 for (uv = g->uvhead.u.l.next; uv != &g->uvhead; uv = uv->u.l.next) {
518 lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv);
519 if (isgray(obj2gco(uv)))
520 markvalue(g, uv->v);
521 }
522}
523
524
525static void atomic (lua_State *L) {

Callers 1

atomicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected