diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-29 05:10:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-29 05:10:06 +0000 |
commit | 106f033b89fed268fe376ebaf16cb95fda655e6a (patch) | |
tree | 1e702e8796e17507302ec5c552daf09ee1252944 /gc.c | |
parent | fc87b3b7e01c6d14e891b5a38921eef3fd05c8e7 (diff) |
* gc.c (gc_mark_ptr): remove debug code for #11244.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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); |