diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-08-11 00:18:04 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-08-11 00:18:04 -0700 |
commit | 4e7ae99010809eda060736f65daa620f1bf87f04 (patch) | |
tree | a75efc11c023c1caf31bbfa809efe6784adf02d4 | |
parent | a511aae95c49d2e76dc308f9251ddd276212634e (diff) | |
download | txr-4e7ae99010809eda060736f65daa620f1bf87f04.tar.gz txr-4e7ae99010809eda060736f65daa620f1bf87f04.tar.bz2 txr-4e7ae99010809eda060736f65daa620f1bf87f04.zip |
gc: remove #if 0 and #if 1.
* gc.c (mark_obj): Remove material excluded by #if 1.
(gc): Eliminate #if 0 block.
-rw-r--r-- | gc.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -309,12 +309,8 @@ static void mark_obj(val obj) { type_t t; -#if 1 tail_call: #define mark_obj_tail(o) do { obj = (o); goto tail_call; } while (0) -#else -#define mark_obj_tail(o) return mark_obj(o) -#endif if (!is_ptr(obj)) return; @@ -760,10 +756,6 @@ void gc(void) prepare_finals(); swept = sweep(); #if CONFIG_GEN_GC -#if 0 - printf("sweep: freed %d full_gc == %d exhausted == %d\n", - (int) swept, full_gc, exhausted); -#endif if (++gc_counter >= FULL_GC_INTERVAL || freshobj_idx >= FRESHOBJ_VEC_SIZE) { |