Get rid of FL_EXIVAR

Now that the shape_id gives us all the same information, it's no
longer needed.
This commit is contained in:
Jean Boussier 2025-06-13 17:56:26 +02:00
parent 6dbe24fe56
commit 15084fbc3c
Notes: git 2025-06-13 21:50:43 +00:00
10 changed files with 29 additions and 48 deletions

View file

@ -1266,13 +1266,6 @@ rb_shape_verify_consistency(VALUE obj, shape_id_t shape_id)
}
}
if (FL_TEST_RAW(obj, FL_EXIVAR)) {
RUBY_ASSERT(rb_obj_exivar_p(obj));
}
else {
RUBY_ASSERT(!rb_obj_exivar_p(obj));
}
return true;
}
#endif