diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-04-14 16:25:06 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-04-16 11:06:31 -0400 |
commit | ad3d4e87d7e20c7e7ff2836567a44bb29368f3ec (patch) | |
tree | 12ccb4503d6dce6d5d355d8beeacd691e78f7033 /vm_insnhelper.c | |
parent | fac814c2dc31afef272b45392a7389ef0bfa3a4f (diff) |
Move RCLASS_CLONED to rb_classext_struct
This commit moves RCLASS_CLONED from the flags to the
rb_classext_struct. This frees the FL_USER1 bit.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7719
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index e985e52077..f4894225d7 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -895,7 +895,7 @@ vm_get_const_key_cref(const VALUE *ep) while (cref) { if (FL_TEST(CREF_CLASS(cref), FL_SINGLETON) || - FL_TEST(CREF_CLASS(cref), RCLASS_CLONED)) { + RCLASS_EXT(CREF_CLASS(cref))->cloned) { return key_cref; } cref = CREF_NEXT(cref); |