** Enter first sweep phase. ** The call to 'sweeplist' tries to make 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. */
| 957 | ** real sweep. |
| 958 | */ |
| 959 | static void entersweep (lua_State *L) { |
| 960 | global_State *g = G(L); |
| 961 | g->gcstate = GCSswpallgc; |
| 962 | lua_assert(g->sweepgc == NULL); |
| 963 | g->sweepgc = sweeplist(L, &g->allgc, 1); |
| 964 | } |
| 965 | |
| 966 | |
| 967 | void luaC_freeallobjects (lua_State *L) { |
no test coverage detected