mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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:
parent
6dbe24fe56
commit
15084fbc3c
Notes:
git
2025-06-13 21:50:43 +00:00
10 changed files with 29 additions and 48 deletions
7
shape.c
7
shape.c
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue