** Enter incremental mode. Turn all objects white, make all ** intermediate lists point to NULL (to avoid invalid pointers), ** and go to the pause state. */
| 1343 | ** and go to the pause state. |
| 1344 | */ |
| 1345 | static void enterinc (global_State *g) { |
| 1346 | whitelist(g, g->allgc); |
| 1347 | g->reallyold = g->old1 = g->survival = NULL; |
| 1348 | whitelist(g, g->finobj); |
| 1349 | whitelist(g, g->tobefnz); |
| 1350 | g->finobjrold = g->finobjold1 = g->finobjsur = NULL; |
| 1351 | g->gcstate = GCSpause; |
| 1352 | g->gckind = KGC_INC; |
| 1353 | g->lastatomic = 0; |
| 1354 | } |
| 1355 | |
| 1356 | |
| 1357 | /* |
no test coverage detected