Revert assert for debugging on CI
This reverts commit ac69849e49982ea83036c04c5d5f7245e3956a49. The bug seems to have been fixed.
This commit is contained in:
parent
7ad56fd87b
commit
c56fdaecc4
@ -136,7 +136,6 @@ static void
|
|||||||
clear_method_cache_by_id_in_class(VALUE klass, ID mid)
|
clear_method_cache_by_id_in_class(VALUE klass, ID mid)
|
||||||
{
|
{
|
||||||
VM_ASSERT(RB_TYPE_P(klass, T_CLASS) || RB_TYPE_P(klass, T_ICLASS));
|
VM_ASSERT(RB_TYPE_P(klass, T_CLASS) || RB_TYPE_P(klass, T_ICLASS));
|
||||||
if (!(RB_TYPE_P(klass, T_CLASS) || RB_TYPE_P(klass, T_ICLASS))) rb_bug("type confusion"); // temporary. Remove before release
|
|
||||||
|
|
||||||
if (LIKELY(RCLASS_EXT(klass)->subclasses == NULL)) {
|
if (LIKELY(RCLASS_EXT(klass)->subclasses == NULL)) {
|
||||||
// no subclasses
|
// no subclasses
|
||||||
|
Loading…
x
Reference in New Issue
Block a user