diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-18 08:12:44 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-18 08:12:44 +0000 |
commit | 3857777781e75a1638e914b8ed238a357a95aea9 (patch) | |
tree | a7b2acc207d76d78fe2969c0621a1de4d11f8c89 /gc.c | |
parent | 5b91f08aaa2578b0160033fbd9536b6242291489 (diff) | |
download | ruby-3857777781e75a1638e914b8ed238a357a95aea9.tar.gz |
* gc.c (check_rvalue_consistency): do not need to check is_sweeping().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -992,7 +992,7 @@ check_rvalue_consistency(const VALUE obj) if (!is_full_marking(objspace) && long_lived_bit && age != RVALUE_OLD_AGE && !wb_unprotected_bit) { rb_bug("check_rvalue_consistency: %s is long lived, but not old (age: %d) and not WB unprotected.\n", obj_info(obj), age); } - if (!is_marking(objspace) && !is_sweeping(objspace) && long_lived_bit && RVALUE_MARK_BITMAP(obj) == 0) { + if (!is_marking(objspace) && long_lived_bit && RVALUE_MARK_BITMAP(obj) == 0) { rb_bug("check_rvalue_consistency: %s is long lived, but is not marked while !gc.", obj_info(obj)); } |