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