** sweep a list until a live object (or end of list) */
| 780 | ** sweep a list until a live object (or end of list) |
| 781 | */ |
| 782 | static GCObject **sweeptolive (lua_State *L, GCObject **p) { |
| 783 | GCObject **old = p; |
| 784 | do { |
| 785 | p = sweeplist(L, p, 1, NULL); |
| 786 | } while (p == old); |
| 787 | return p; |
| 788 | } |
| 789 | |
| 790 | /* }====================================================== */ |
| 791 |
no test coverage detected