mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Use the shape_id
rather than FL_EXIVAR
We still keep setting `FL_EXIVAR` so that `rb_shape_verify_consistency` can detect discrepancies.
This commit is contained in:
parent
b51078f82e
commit
6dbe24fe56
Notes:
git
2025-06-13 21:50:44 +00:00
9 changed files with 54 additions and 51 deletions
1
string.c
1
string.c
|
@ -486,6 +486,7 @@ build_fstring(VALUE str, struct fstr_update_arg *arg)
|
|||
RUBY_ASSERT(OBJ_FROZEN(str));
|
||||
RUBY_ASSERT(!FL_TEST_RAW(str, STR_FAKESTR));
|
||||
RUBY_ASSERT(!FL_TEST_RAW(str, FL_EXIVAR));
|
||||
RUBY_ASSERT(!rb_obj_exivar_p(str));
|
||||
RUBY_ASSERT(RBASIC_CLASS(str) == rb_cString);
|
||||
RUBY_ASSERT(!rb_objspace_garbage_object_p(str));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue