Record marking

This commit is contained in:
Justin Ethier 2015-11-25 23:51:13 -05:00
parent ff1fc10a90
commit e95eeb8732

1
gc.c
View file

@ -998,6 +998,7 @@ void gc_mark_black(object obj)
if (mark(obj) != gc_color_red) {
// Only blacken objects on the heap
mark(obj) = markColor;
printf("marked %p %d\n", obj, markColor);
}
}
}