| 113 | |
| 114 | |
| 115 | static void marktmu (global_State *g) { |
| 116 | GCObject *u = g->tmudata; |
| 117 | if (u) { |
| 118 | do { |
| 119 | u = u->gch.next; |
| 120 | makewhite(g, u); /* may be marked, if left from previous GC */ |
| 121 | reallymarkobject(g, u); |
| 122 | } while (u != g->tmudata); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | |
| 127 | /* move `dead' udata that need finalization to list `tmudata' */ |
no test coverage detected