| 1833 | } |
| 1834 | |
| 1835 | void fxRemember(txMachine* the, txSlot* theSlot) |
| 1836 | { |
| 1837 | txSlot* aHeap; |
| 1838 | txSlot* aLimit; |
| 1839 | if ((the->stack <= theSlot) && (theSlot < the->stackTop)) { |
| 1840 | return; |
| 1841 | } |
| 1842 | aHeap = the->firstHeap; |
| 1843 | while (aHeap) { |
| 1844 | aLimit = aHeap->value.reference; |
| 1845 | if ((aHeap < theSlot) && (theSlot < aLimit)) { |
| 1846 | return; |
| 1847 | } |
| 1848 | aHeap = aHeap->next; |
| 1849 | } |
| 1850 | fxForget(the, theSlot); |
| 1851 | theSlot->next = the->cRoot; |
| 1852 | the->cRoot = theSlot; |
| 1853 | } |
| 1854 | |
| 1855 | void fxForget(txMachine* the, txSlot* theSlot) |
| 1856 | { |
no test coverage detected