summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2022-10-21 16:24:29 -0400
committerAaron Patterson <aaron.patterson@gmail.com>2022-10-21 14:57:34 -0700
commita11952dac1a5b0776a493968eeffbd4be4403b76 (patch)
treeb905121c4e4ac94010def14957da6539ce0dd2d5 /yjit
parent13bd617ea6fdf72467c593639cf33312a06c330c (diff)
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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6608
Diffstat (limited to 'yjit')
-rw-r--r--yjit/src/cruby_bindings.inc.rs2
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,
}