Skip to content

Commit b652dbf

Browse files
committed
Remove iv_index_tbl_entry
1 parent abeef41 commit b652dbf

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

internal/class.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ struct rb_subclass_entry {
2626
struct rb_subclass_entry *prev;
2727
};
2828

29-
struct rb_iv_index_tbl_entry {
30-
uint32_t index;
31-
shape_id_t source_shape_id;
32-
shape_id_t dest_shape_id;
33-
};
34-
3529
struct rb_cvar_class_tbl_entry {
3630
uint32_t index;
3731
rb_serial_t global_cvar_state;

mjit_c.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -527,15 +527,6 @@ def C.rb_iseq_t
527527
@rb_iseq_t ||= self.rb_iseq_struct
528528
end
529529

530-
def C.rb_iv_index_tbl_entry
531-
@rb_iv_index_tbl_entry ||= CType::Struct.new(
532-
"rb_iv_index_tbl_entry", Primitive.cexpr!("SIZEOF(struct rb_iv_index_tbl_entry)"),
533-
index: [CType::Immediate.parse("uint32_t"), Primitive.cexpr!("OFFSETOF((*((struct rb_iv_index_tbl_entry *)NULL)), index)")],
534-
source_shape_id: [self.shape_id_t, Primitive.cexpr!("OFFSETOF((*((struct rb_iv_index_tbl_entry *)NULL)), source_shape_id)")],
535-
dest_shape_id: [self.shape_id_t, Primitive.cexpr!("OFFSETOF((*((struct rb_iv_index_tbl_entry *)NULL)), dest_shape_id)")],
536-
)
537-
end
538-
539530
def C.rb_method_definition_struct
540531
@rb_method_definition_struct ||= CType::Struct.new(
541532
"rb_method_definition_struct", Primitive.cexpr!("SIZEOF(struct rb_method_definition_struct)"),

tool/mjit/bindgen.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ def push_target(target)
373373
rb_iseq_location_t
374374
rb_iseq_struct
375375
rb_iseq_t
376-
rb_iv_index_tbl_entry
377376
rb_method_definition_struct
378377
rb_method_iseq_t
379378
rb_method_type_t

0 commit comments

Comments
 (0)