diff options
author | John Hawthorn <[email protected]> | 2025-05-28 10:11:58 -0700 |
---|---|---|
committer | John Hawthorn <[email protected]> | 2025-06-02 14:57:48 -0400 |
commit | e596cf6e93dbf121e197cccfec8a69902e00eda3 (patch) | |
tree | 802f3019d8b5dd80cf330ed9073f89c5cc13bee1 /vm.c | |
parent | db2cfebff1ae78ec6cbe32d24dcaf236b178f6ca (diff) |
Make FrozenCore a plain T_CLASS
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13458
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -4011,9 +4011,6 @@ Init_VM(void) fcore = rb_class_new(rb_cBasicObject); rb_set_class_path(fcore, rb_cRubyVM, "FrozenCore"); rb_vm_register_global_object(rb_class_path_cached(fcore)); - RB_FL_UNSET_RAW(fcore, T_MASK); - RB_FL_SET_RAW(fcore, T_ICLASS); - RCLASSEXT_ICLASS_IS_ORIGIN(RCLASS_EXT_PRIME(fcore)) = true; klass = rb_singleton_class(fcore); rb_define_method_id(klass, id_core_set_method_alias, m_core_set_method_alias, 3); rb_define_method_id(klass, id_core_set_variable_alias, m_core_set_variable_alias, 2); |