** sweep a list until a live object (or end of list) */
| 849 | ** sweep a list until a live object (or end of list) |
| 850 | */ |
| 851 | static GCObject **sweeptolive (lua_State *L, GCObject **p) { |
| 852 | GCObject **old = p; |
| 853 | do { |
| 854 | p = sweeplist(L, p, 1, NULL); |
| 855 | } while (p == old); |
| 856 | return p; |
| 857 | } |
| 858 | |
| 859 | /* }====================================================== */ |
| 860 |
no test coverage detected