** 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). */
| 1127 | ** except for fixed strings (which are always old). |
| 1128 | */ |
| 1129 | static void whitelist (global_State *g, GCObject *p) { |
| 1130 | int white = luaC_white(g); |
| 1131 | for (; p != NULL; p = p->next) |
| 1132 | p->marked = cast_byte((p->marked & ~maskgcbits) | white); |
| 1133 | } |
| 1134 | |
| 1135 | |
| 1136 | /* |