Switched stack start and ends to tops and bottoms.

This commit is contained in:
Victor Olin 2023-02-24 13:08:33 +01:00
parent a684fe1ea0
commit 019c54bdad
3 changed files with 24 additions and 26 deletions

View file

@ -63,7 +63,7 @@ namespace GC {
const char *m_heap;
size_t m_size;
size_t m_allocated_size;
uintptr_t *m_stack_end = nullptr;
uintptr_t *m_stack_top = nullptr;
// maybe change to std::list
std::list<Chunk *> m_allocated_chunks;