MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / StackAllocator

Method StackAllocator

src/simulate/heap.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#endif
18
19 StackAllocator::StackAllocator(uint32_t size, void *mem) {
20 stackSize = size;
21 stack = stackSize ? (char*)(mem ? mem : das_aligned_alloc16(stackSize)) : nullptr;
22 reset();
23 }
24
25
26 char * AnyHeapAllocator::impl_allocateIterator ( uint64_t size, const char * name, const LineInfo * info ) {

Callers

nothing calls this directly

Calls 2

das_aligned_alloc16Function · 0.85
resetFunction · 0.50

Tested by

no test coverage detected