summaryrefslogtreecommitdiff
path: root/allocator.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-07-11 16:05:49 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-07-11 16:05:49 -0400
commit88b8cddabdaaa1bfd6d6f566bcebc38f516227df (patch)
tree39fd2a4691933bd1a62d6cf36fcb88234975b125 /allocator.c
parent1c0e87ce47c22512878edef083577aa573fd7876 (diff)
improved the way value memory management works
Diffstat (limited to 'allocator.c')
-rw-r--r--allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocator.c b/allocator.c
index 98005ef..a731928 100644
--- a/allocator.c
+++ b/allocator.c
@@ -25,7 +25,7 @@ static void *err_malloc(size_t bytes);
static void *err_calloc(size_t n, size_t sz);
static void *err_realloc(void *prev, size_t new_size);
#ifdef TOC_DEBUG
-#define NO_ALLOCATOR 1 /* useful for debugging; valgrind checks writing past the end of a malloc, but that won't work with an allocator */
+//#define NO_ALLOCATOR 1 /* useful for debugging; valgrind checks writing past the end of a malloc, but that won't work with an allocator */
#endif
/* number of bytes a page hold, not including the header */
#define PAGE_BYTES (16384 - sizeof(Page))