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

Function traversestrongtable

third-party/lua-5.5.0/src/lgc.c:576–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574
575
576static void traversestrongtable (global_State *g, Table *h) {
577 Node *n, *limit = gnodelast(h);
578 traversearray(g, h);
579 for (n = gnode(h, 0); n < limit; n++) { /* traverse hash part */
580 if (isempty(gval(n))) /* entry is empty? */
581 clearkey(n); /* clear its key */
582 else {
583 lua_assert(!keyisnil(n));
584 markkey(g, n);
585 markvalue(g, gval(n));
586 }
587 }
588 genlink(g, obj2gco(h));
589}
590
591
592/*

Callers 1

traversetableFunction · 0.70

Calls 3

traversearrayFunction · 0.85
clearkeyFunction · 0.70
genlinkFunction · 0.70

Tested by

no test coverage detected