** Correct all gray lists, coalescing them into 'grayagain'. */
| 1089 | ** Correct all gray lists, coalescing them into 'grayagain'. |
| 1090 | */ |
| 1091 | static void correctgraylists (global_State *g) { |
| 1092 | GCObject **list = correctgraylist(&g->grayagain); |
| 1093 | *list = g->weak; g->weak = NULL; |
| 1094 | list = correctgraylist(list); |
| 1095 | *list = g->allweak; g->allweak = NULL; |
| 1096 | list = correctgraylist(list); |
| 1097 | *list = g->ephemeron; g->ephemeron = NULL; |
| 1098 | correctgraylist(list); |
| 1099 | } |
| 1100 | |
| 1101 | |
| 1102 | /* |
no test coverage detected