** Correct all gray lists, coalescing them into 'grayagain'. */
| 1176 | ** Correct all gray lists, coalescing them into 'grayagain'. |
| 1177 | */ |
| 1178 | static void correctgraylists (global_State *g) { |
| 1179 | GCObject **list = correctgraylist(&g->grayagain); |
| 1180 | *list = g->weak; g->weak = NULL; |
| 1181 | list = correctgraylist(list); |
| 1182 | *list = g->allweak; g->allweak = NULL; |
| 1183 | list = correctgraylist(list); |
| 1184 | *list = g->ephemeron; g->ephemeron = NULL; |
| 1185 | correctgraylist(list); |
| 1186 | } |
| 1187 | |
| 1188 | |
| 1189 | /* |
no test coverage detected