summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gc.c b/gc.c
index d967fd8576..c2a1a7c6fd 100644
--- a/gc.c
+++ b/gc.c
@@ -2176,9 +2176,7 @@ slot_sweep(rb_objspace_t *objspace, struct heaps_slot *sweep_slot)
}
p->as.free.next = deferred_final_list;
deferred_final_list = p;
- if (BUILTIN_TYPE(p) != T_ZOMBIE) {
- fprintf(stderr, "NOT T_ZOMBIE!!\n");
- }
+ assert(BUILTIN_TYPE(p) == T_ZOMBIE);
final_num++;
}
else {