MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / enterinc

Function enterinc

3rd/lua-5.4.3/src/lgc.c:1308–1317  ·  view source on GitHub ↗

** Enter incremental mode. Turn all objects white, make all ** intermediate lists point to NULL (to avoid invalid pointers), ** and go to the pause state. */

Source from the content-addressed store, hash-verified

1306** and go to the pause state.
1307*/
1308static void enterinc (global_State *g) {
1309 whitelist(g, g->allgc);
1310 g->reallyold = g->old1 = g->survival = NULL;
1311 whitelist(g, g->finobj);
1312 whitelist(g, g->tobefnz);
1313 g->finobjrold = g->finobjold1 = g->finobjsur = NULL;
1314 g->gcstate = GCSpause;
1315 g->gckind = KGC_INC;
1316 g->lastatomic = 0;
1317}
1318
1319
1320/*

Callers 3

luaC_changemodeFunction · 0.85
fullgenFunction · 0.85
stepgenfullFunction · 0.85

Calls 1

whitelistFunction · 0.85

Tested by

no test coverage detected