diff options
author | Jemma Issroff <jemmaissroff@gmail.com> | 2022-10-21 16:24:29 -0400 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2022-10-21 14:57:34 -0700 |
commit | a11952dac1a5b0776a493968eeffbd4be4403b76 (patch) | |
tree | b905121c4e4ac94010def14957da6539ce0dd2d5 /yjit/src | |
parent | 13bd617ea6fdf72467c593639cf33312a06c330c (diff) | |
download | ruby-a11952dac1a5b0776a493968eeffbd4be4403b76.tar.gz |
Rename `iv_count` on shapes to `next_iv_index`
`iv_count` is a misleading name because when IVs are unset, the new
shape doesn't decrement this value. `next_iv_count` is an accurate, and
more descriptive name.
Diffstat (limited to 'yjit/src')
-rw-r--r-- | yjit/src/cruby_bindings.inc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/cruby_bindings.inc.rs b/yjit/src/cruby_bindings.inc.rs index ab5db31f93..158bdd80dc 100644 --- a/yjit/src/cruby_bindings.inc.rs +++ b/yjit/src/cruby_bindings.inc.rs @@ -419,7 +419,7 @@ pub type shape_id_t = u32; pub struct rb_shape { pub edges: *mut rb_id_table, pub edge_name: ID, - pub iv_count: attr_index_t, + pub next_iv_index: attr_index_t, pub type_: u8, pub parent_id: shape_id_t, } |