** advances the garbage collector until it reaches a state allowed ** by 'statemask' */
| 1108 | ** by 'statemask' |
| 1109 | */ |
| 1110 | void luaC_runtilstate (lua_State *L, int statesmask) { |
| 1111 | global_State *g = G(L); |
| 1112 | while (!testbit(statesmask, g->gcstate)) |
| 1113 | singlestep(L); |
| 1114 | } |
| 1115 | |
| 1116 | |
| 1117 | static void generationalcollection (lua_State *L) { |
no test coverage detected