From 514d83c9c66330a7f98685aff65a15ff39a562cd Mon Sep 17 00:00:00 2001 From: Omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 21 Apr 2024 11:44:40 +1000 Subject: dont log arena padding --- src/std/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/std') 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"); } -- cgit v1.2.3-70-g09d2