** Enter first sweep phase. ** The call to 'sweeptolive' makes the pointer point to an object ** inside the list (instead of to the header), so that the real sweep do ** not need to skip objects created between "now" and the start of the ** real sweep. */
| 1476 | ** real sweep. |
| 1477 | */ |
| 1478 | static void entersweep (lua_State *L) { |
| 1479 | global_State *g = G(L); |
| 1480 | g->gcstate = GCSswpallgc; |
| 1481 | lua_assert(g->sweepgc == NULL); |
| 1482 | g->sweepgc = sweeptolive(L, &g->allgc); |
| 1483 | } |
| 1484 | |
| 1485 | |
| 1486 | /* |
no test coverage detected