diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-21 11:44:40 +1000 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-21 11:44:40 +1000 |
commit | 514d83c9c66330a7f98685aff65a15ff39a562cd (patch) | |
tree | 3b8b048abdc1459ca2ae6a730f85c1c2d666a4c5 /src/std/mem.c | |
parent | b283835c5e6998bda9b986ff49ee4fd57fe68fc7 (diff) |
dont log arena padding
Diffstat (limited to 'src/std/mem.c')
-rw-r--r-- | src/std/mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/std/mem.c b/src/std/mem.c index d7c0f4c..00f9c39 100644 --- a/src/std/mem.c +++ b/src/std/mem.c @@ -11,7 +11,7 @@ void* arena_alloc_align(arena* a, size_t size, size_t align) { ptrdiff_t padding = -(uintptr_t)a->curr & (align - 1); ptrdiff_t available = a->end - a->curr - padding; - TRACE("Padding %td available %td", padding, available); + // TRACE("Padding %td available %td", padding, available); if (available < 0 || (ptrdiff_t)size > available) { ERROR_EXIT("Arena ran out of memory\n"); } |