| 6115 | |
| 6116 | |
| 6117 | static void marktmu (global_State *g) { |
| 6118 | GCObject *u = g->tmudata; |
| 6119 | if (u) { |
| 6120 | do { |
| 6121 | u = u->gch.next; |
| 6122 | makewhite(g, u); /* may be marked, if left from previous GC */ |
| 6123 | reallymarkobject(g, u); |
| 6124 | } while (u != g->tmudata); |
| 6125 | } |
| 6126 | } |
| 6127 | |
| 6128 | |
| 6129 | /* move `dead' udata that need finalization to list `tmudata' */ |
no test coverage detected