Make rb_shape.capacity an attr_index_t
This commit is contained in:
parent
bbea71fafb
commit
a3af4e905f
Notes:
git
2025-05-05 12:45:05 +00:00
2
shape.h
2
shape.h
@ -45,7 +45,7 @@ struct rb_shape {
|
|||||||
struct rb_id_table *edges; // id_table from ID (ivar) to next shape
|
struct rb_id_table *edges; // id_table from ID (ivar) to next shape
|
||||||
ID edge_name; // ID (ivar) for transition from parent to rb_shape
|
ID edge_name; // ID (ivar) for transition from parent to rb_shape
|
||||||
attr_index_t next_iv_index;
|
attr_index_t next_iv_index;
|
||||||
uint32_t capacity; // Total capacity of the object with this shape
|
attr_index_t capacity; // Total capacity of the object with this shape
|
||||||
uint8_t type;
|
uint8_t type;
|
||||||
uint8_t heap_index;
|
uint8_t heap_index;
|
||||||
shape_id_t parent_id;
|
shape_id_t parent_id;
|
||||||
|
2
yjit/src/cruby_bindings.inc.rs
generated
2
yjit/src/cruby_bindings.inc.rs
generated
@ -649,7 +649,7 @@ pub struct rb_shape {
|
|||||||
pub edges: *mut rb_id_table,
|
pub edges: *mut rb_id_table,
|
||||||
pub edge_name: ID,
|
pub edge_name: ID,
|
||||||
pub next_iv_index: attr_index_t,
|
pub next_iv_index: attr_index_t,
|
||||||
pub capacity: u32,
|
pub capacity: attr_index_t,
|
||||||
pub type_: u8,
|
pub type_: u8,
|
||||||
pub heap_index: u8,
|
pub heap_index: u8,
|
||||||
pub parent_id: shape_id_t,
|
pub parent_id: shape_id_t,
|
||||||
|
2
zjit/src/cruby_bindings.inc.rs
generated
2
zjit/src/cruby_bindings.inc.rs
generated
@ -406,7 +406,7 @@ pub struct rb_shape {
|
|||||||
pub edges: *mut rb_id_table,
|
pub edges: *mut rb_id_table,
|
||||||
pub edge_name: ID,
|
pub edge_name: ID,
|
||||||
pub next_iv_index: attr_index_t,
|
pub next_iv_index: attr_index_t,
|
||||||
pub capacity: u32,
|
pub capacity: attr_index_t,
|
||||||
pub type_: u8,
|
pub type_: u8,
|
||||||
pub heap_index: u8,
|
pub heap_index: u8,
|
||||||
pub parent_id: shape_id_t,
|
pub parent_id: shape_id_t,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user