** Traverse a list making all its elements white and clearing their ** age. In incremental mode, all objects are 'new' all the time, ** except for fixed strings (which are always old). */
| 1154 | ** except for fixed strings (which are always old). |
| 1155 | */ |
| 1156 | static void whitelist (global_State *g, GCObject *p) { |
| 1157 | int white = luaC_white(g); |
| 1158 | for (; p != NULL; p = p->next) |
| 1159 | p->marked = cast_byte((p->marked & ~maskgcbits) | white); |
| 1160 | } |
| 1161 | |
| 1162 | |
| 1163 | /* |