Skip to content

Commit a3af4e9

Browse files
committed
Make rb_shape.capacity an attr_index_t
1 parent bbea71f commit a3af4e9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

shape.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct rb_shape {
4545
struct rb_id_table *edges; // id_table from ID (ivar) to next shape
4646
ID edge_name; // ID (ivar) for transition from parent to rb_shape
4747
attr_index_t next_iv_index;
48-
uint32_t capacity; // Total capacity of the object with this shape
48+
attr_index_t capacity; // Total capacity of the object with this shape
4949
uint8_t type;
5050
uint8_t heap_index;
5151
shape_id_t parent_id;

yjit/src/cruby_bindings.inc.rs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zjit/src/cruby_bindings.inc.rs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)