mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 08:47:35 +02:00
Bugfix
This commit is contained in:
parent
c10d7c7829
commit
0d9e4c3234
1 changed files with 2 additions and 2 deletions
4
gc.c
4
gc.c
|
@ -34,9 +34,9 @@ printf("DEBUG h->data addr: %p\n", h->data);
|
||||||
next->next = NULL;
|
next->next = NULL;
|
||||||
//#if GC_DEBUG_PRINTFS
|
//#if GC_DEBUG_PRINTFS
|
||||||
fprintf(stderr, ("heap: %p-%p data: %p-%p"),
|
fprintf(stderr, ("heap: %p-%p data: %p-%p"),
|
||||||
h, ((char*)h)+sexp_heap_pad_size(size), h->data, h->data + size);
|
h, ((char*)h)+gc_heap_pad_size(size), h->data, h->data + size);
|
||||||
fprintf(stderr, ("first: %p end: %p"),
|
fprintf(stderr, ("first: %p end: %p"),
|
||||||
(object)sexp_heap_first_block(h), (object)sexp_heap_end(h));
|
(object)gc_heap_first_block(h), (object)gc_heap_end(h));
|
||||||
fprintf(stderr, ("free1: %p-%p free2: %p-%p"),
|
fprintf(stderr, ("free1: %p-%p free2: %p-%p"),
|
||||||
free, ((char*)free)+free->size, next, ((char*)next)+next->size);
|
free, ((char*)free)+free->size, next, ((char*)next)+next->size);
|
||||||
//#endif
|
//#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue