** Correct all gray lists, coalescing them into 'grayagain'. */
| 1203 | ** Correct all gray lists, coalescing them into 'grayagain'. |
| 1204 | */ |
| 1205 | static void correctgraylists (global_State *g) { |
| 1206 | GCObject **list = correctgraylist(&g->grayagain); |
| 1207 | *list = g->weak; g->weak = NULL; |
| 1208 | list = correctgraylist(list); |
| 1209 | *list = g->allweak; g->allweak = NULL; |
| 1210 | list = correctgraylist(list); |
| 1211 | *list = g->ephemeron; g->ephemeron = NULL; |
| 1212 | correctgraylist(list); |
| 1213 | } |
| 1214 | |
| 1215 | |
| 1216 | /* |
no test coverage detected