** Correct all gray lists, coalescing them into 'grayagain'. */
| 1258 | ** Correct all gray lists, coalescing them into 'grayagain'. |
| 1259 | */ |
| 1260 | static void correctgraylists (global_State *g) { |
| 1261 | GCObject **list = correctgraylist(&g->grayagain); |
| 1262 | *list = g->weak; g->weak = NULL; |
| 1263 | list = correctgraylist(list); |
| 1264 | *list = g->allweak; g->allweak = NULL; |
| 1265 | list = correctgraylist(list); |
| 1266 | *list = g->ephemeron; g->ephemeron = NULL; |
| 1267 | correctgraylist(list); |
| 1268 | } |
| 1269 | |
| 1270 | |
| 1271 | /* |
no test coverage detected