1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c (slot_sweep): add a assertion instead of a debug print.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nari 2012-01-08 02:46:19 +00:00
parent 6e9a14aabe
commit 94fd32b80a
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Sun Jan 8 11:43:05 2012 Narihiro Nakamura <authornari@gmail.com>
* gc.c (slot_sweep): add a assertion instead of a debug print.
Sun Jan 8 01:18:19 2012 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* test/-ext-/old_thread_select/test_old_thread_select.rb:

4
gc.c
View file

@ -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 {