зеркало из https://github.com/github/ruby.git
Remove redundant cast
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
bb77cc1837
Коммит
dad3047659
8
gc.c
8
gc.c
|
@ -4982,8 +4982,8 @@ gc_mark_children(rb_objspace_t *objspace, VALUE obj)
|
|||
case T_CLASS:
|
||||
case T_MODULE:
|
||||
mark_m_tbl(objspace, RCLASS_M_TBL(obj));
|
||||
if (RCLASS_SUPER((VALUE)obj)) {
|
||||
gc_mark(objspace, RCLASS_SUPER((VALUE)obj));
|
||||
if (RCLASS_SUPER(obj)) {
|
||||
gc_mark(objspace, RCLASS_SUPER(obj));
|
||||
}
|
||||
if (!RCLASS_EXT(obj)) break;
|
||||
mark_tbl_no_pin(objspace, RCLASS_IV_TBL(obj));
|
||||
|
@ -4994,8 +4994,8 @@ gc_mark_children(rb_objspace_t *objspace, VALUE obj)
|
|||
if (FL_TEST(obj, RICLASS_IS_ORIGIN)) {
|
||||
mark_m_tbl(objspace, RCLASS_M_TBL(obj));
|
||||
}
|
||||
if (RCLASS_SUPER((VALUE)obj)) {
|
||||
gc_mark(objspace, RCLASS_SUPER((VALUE)obj));
|
||||
if (RCLASS_SUPER(obj)) {
|
||||
gc_mark(objspace, RCLASS_SUPER(obj));
|
||||
}
|
||||
if (!RCLASS_EXT(obj)) break;
|
||||
mark_m_tbl(objspace, RCLASS_CALLABLE_M_TBL(obj));
|
||||
|
|
Загрузка…
Ссылка в новой задаче