Remove iv_index_tbl_entry

This commit is contained in:
John Hawthorn 2022-10-21 14:31:33 -07:00
parent abeef41c95
commit b652dbf63b
Notes: git 2022-10-24 17:54:27 +00:00
3 changed files with 0 additions and 16 deletions

View File

@ -26,12 +26,6 @@ struct rb_subclass_entry {
struct rb_subclass_entry *prev;
};
struct rb_iv_index_tbl_entry {
uint32_t index;
shape_id_t source_shape_id;
shape_id_t dest_shape_id;
};
struct rb_cvar_class_tbl_entry {
uint32_t index;
rb_serial_t global_cvar_state;

View File

@ -527,15 +527,6 @@ module RubyVM::MJIT
@rb_iseq_t ||= self.rb_iseq_struct
end
def C.rb_iv_index_tbl_entry
@rb_iv_index_tbl_entry ||= CType::Struct.new(
"rb_iv_index_tbl_entry", Primitive.cexpr!("SIZEOF(struct rb_iv_index_tbl_entry)"),
index: [CType::Immediate.parse("uint32_t"), Primitive.cexpr!("OFFSETOF((*((struct rb_iv_index_tbl_entry *)NULL)), index)")],
source_shape_id: [self.shape_id_t, Primitive.cexpr!("OFFSETOF((*((struct rb_iv_index_tbl_entry *)NULL)), source_shape_id)")],
dest_shape_id: [self.shape_id_t, Primitive.cexpr!("OFFSETOF((*((struct rb_iv_index_tbl_entry *)NULL)), dest_shape_id)")],
)
end
def C.rb_method_definition_struct
@rb_method_definition_struct ||= CType::Struct.new(
"rb_method_definition_struct", Primitive.cexpr!("SIZEOF(struct rb_method_definition_struct)"),

View File

@ -373,7 +373,6 @@ generator = BindingGenerator.new(
rb_iseq_location_t
rb_iseq_struct
rb_iseq_t
rb_iv_index_tbl_entry
rb_method_definition_struct
rb_method_iseq_t
rb_method_type_t