MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / ~MemoryModel

Method ~MemoryModel

src/misc/memory_model.cpp:67–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 2

das_aligned_free16Function · 0.85
clearMethod · 0.45

Tested by

no test coverage detected