diff options
author | Jemma Issroff <jemmaissroff@gmail.com> | 2022-10-21 12:58:51 -0400 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2022-10-21 14:56:48 -0700 |
commit | 13bd617ea6fdf72467c593639cf33312a06c330c (patch) | |
tree | 9da47089160cfa85d6723256b1e952dcc0843a52 /gc.c | |
parent | 87bb0bee6b9843ea32ca6bb48f9e03b1876b7c48 (diff) |
Remove unused class serial
Before object shapes, we were using class serial to invalidate
inline caches. Now that we use shape_id for inline cache keys,
the class serial is unnecessary.
Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6605
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -3463,9 +3463,6 @@ obj_free(rb_objspace_t *objspace, VALUE obj) if (FL_TEST_RAW(obj, RCLASS_SUPERCLASSES_INCLUDE_SELF)) { xfree(RCLASS_SUPERCLASSES(obj)); } -#if SIZEOF_SERIAL_T != SIZEOF_VALUE && USE_RVARGC - xfree(RCLASS(obj)->class_serial_ptr); -#endif #if !USE_RVARGC if (RCLASS_EXT(obj)) |