** 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. */
| 1484 | ** real sweep. |
| 1485 | */ |
| 1486 | static void entersweep (lua_State *L) { |
| 1487 | global_State *g = G(L); |
| 1488 | g->gcstate = GCSswpallgc; |
| 1489 | lua_assert(g->sweepgc == NULL); |
| 1490 | g->sweepgc = sweeptolive(L, &g->allgc); |
| 1491 | } |
| 1492 | |
| 1493 | |
| 1494 | /* |
no test coverage detected