From 1be5cb6371048a35d9fb2859ca8a865e982608cf Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 29 Oct 2015 05:32:42 +0000 Subject: * gc.c (gc_mark_ptr): remove debug code for #11244. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'gc.c') diff --git a/gc.c b/gc.c index 4e9df0cd68..bdab8d8f4c 100644 --- a/gc.c +++ b/gc.c @@ -4235,17 +4235,6 @@ static void gc_mark_ptr(rb_objspace_t *objspace, VALUE obj) { if (LIKELY(objspace->mark_func_data == NULL)) { - /* check code for Bug #11244 */ - if (BUILTIN_TYPE(obj) == T_NONE) { - if (objspace->rgengc.parent_object) { - rb_bug("gc_mark_ptr: obj is %s (parent: %s)", obj_info(obj), - obj_info(objspace->rgengc.parent_object)); - } - else { - rb_bug("gc_mark_ptr: obj is %s (parent is not old)", obj_info(obj)); - } - } - rgengc_check_relation(objspace, obj); if (!gc_mark_set(objspace, obj)) return; /* already marked */ gc_aging(objspace, obj); -- cgit v1.2.3