** Enter incremental mode. Turn all objects white, make all ** intermediate lists point to NULL (to avoid invalid pointers), ** and go to the pause state. */
| 1206 | ** and go to the pause state. |
| 1207 | */ |
| 1208 | static void enterinc (global_State *g) { |
| 1209 | whitelist(g, g->allgc); |
| 1210 | g->reallyold = g->old = g->survival = NULL; |
| 1211 | whitelist(g, g->finobj); |
| 1212 | whitelist(g, g->tobefnz); |
| 1213 | g->finobjrold = g->finobjold = g->finobjsur = NULL; |
| 1214 | g->gcstate = GCSpause; |
| 1215 | g->gckind = KGC_INC; |
| 1216 | g->lastatomic = 0; |
| 1217 | } |
| 1218 | |
| 1219 | |
| 1220 | /* |
no test coverage detected