diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-06-07 16:48:26 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-06-07 18:30:44 +0200 |
| commit | a640723d31262904b4de14be55357fb426873d7f (patch) | |
| tree | 3cc1e8b9e2d8d2b2864bba5e1a1eb22589b30145 /include/ruby/internal | |
| parent | 191f6e3b8744ae459ab7f6cb4d95ac5218856084 (diff) | |
Simplify `rb_gc_rebuild_shape`
Now that there no longer multiple shape roots, all we need to do
when moving an object from one slot to the other is to update the
`heap_index` part of the shape_id.
Since this never need to create a shape transition, it will always
work and never result in a complex shape.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13556
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions
