| 1059 | } |
| 1060 | |
| 1061 | void fxIndexSlot(txMachine* the, txSnapshot* snapshot, txSlot* slot) |
| 1062 | { |
| 1063 | slot->flag |= XS_MARK_FLAG; |
| 1064 | txProjection* projection = snapshot->firstProjection; |
| 1065 | while (projection) { |
| 1066 | txSlot* heap = projection->heap; |
| 1067 | txSlot* limit = projection->limit; |
| 1068 | if ((heap < slot) && (slot < limit)) { |
| 1069 | projection->indexes[slot - heap] = snapshot->slotSize; |
| 1070 | snapshot->slotSize++; |
| 1071 | return; |
| 1072 | } |
| 1073 | projection = projection->nextProjection; |
| 1074 | } |
| 1075 | } |
| 1076 | |
| 1077 | void fxIndexSlots(txMachine* the, txSnapshot* snapshot) |
| 1078 | { |
no outgoing calls
no test coverage detected