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

Function correctgraylists

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

** Correct all gray lists, coalescing them into 'grayagain'. */

Source from the content-addressed store, hash-verified

1258** Correct all gray lists, coalescing them into 'grayagain'.
1259*/
1260static void correctgraylists (global_State *g) {
1261 GCObject **list = correctgraylist(&g->grayagain);
1262 *list = g->weak; g->weak = NULL;
1263 list = correctgraylist(list);
1264 *list = g->allweak; g->allweak = NULL;
1265 list = correctgraylist(list);
1266 *list = g->ephemeron; g->ephemeron = NULL;
1267 correctgraylist(list);
1268}
1269
1270
1271/*

Callers 1

finishgencycleFunction · 0.70

Calls 1

correctgraylistFunction · 0.70

Tested by

no test coverage detected