| 65 | } |
| 66 | |
| 67 | MemoryModel::~MemoryModel() { |
| 68 | shoe.clear(); |
| 69 | for ( auto & itb : bigStuff ) { |
| 70 | FREE_INSANE_POINTER(itb.first); |
| 71 | das_aligned_free16(itb.first); |
| 72 | } |
| 73 | bigStuff.clear(); |
| 74 | #if DAS_SANITIZER |
| 75 | for ( auto & itb : deletedBigStuff ) { |
| 76 | FREE_INSANE_POINTER(itb.first); |
| 77 | das_aligned_free16(itb.first); |
| 78 | } |
| 79 | deletedBigStuff.clear(); |
| 80 | #endif |
| 81 | } |
| 82 | |
| 83 | void MemoryModel::setInitialSize ( uint64_t size ) { |
| 84 | initialSize = size; |
nothing calls this directly
no test coverage detected