** Enter incremental mode. Turn all objects white, make all ** intermediate lists point to NULL (to avoid invalid pointers), ** and go to the pause state. */
| 1306 | ** and go to the pause state. |
| 1307 | */ |
| 1308 | static 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 | /* |
no test coverage detected