mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 00:07:36 +02:00
Qualify logging as verbose
This commit is contained in:
parent
64e0255d69
commit
6376a0eb2c
2 changed files with 2 additions and 2 deletions
2
gc.c
2
gc.c
|
@ -559,7 +559,7 @@ size_t gc_sweep(gc_heap *h, size_t *sum_freed_ptr)
|
|||
|
||||
if ((char *)r == (char *)p) { // this is a free block, skip it
|
||||
p = (object) (((char *)p) + r->size);
|
||||
#if GC_DEBUG_TRACE
|
||||
#if GC_DEBUG_VERBOSE
|
||||
fprintf(stderr, "skip free block %p size = %zu\n", p, r->size);
|
||||
#endif
|
||||
continue;
|
||||
|
|
|
@ -2227,7 +2227,7 @@ void gc_mark_globals()
|
|||
cvar_type *c = (cvar_type *)car(l);
|
||||
object glo = *(c->pvar);
|
||||
if (!nullp(glo)) {
|
||||
#if GC_DEBUG_TRACE
|
||||
#if GC_DEBUG_VERBOSE
|
||||
fprintf(stderr, "global pvar %p\n", glo);
|
||||
#endif
|
||||
gc_mark_black(glo); // Mark actual object the global points to
|
||||
|
|
Loading…
Add table
Reference in a new issue