summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/class.h6
-rw-r--r--mjit_c.rb9
-rwxr-xr-xtool/mjit/bindgen.rb1
3 files changed, 0 insertions, 16 deletions
diff --git a/internal/class.h b/internal/class.h
index f163b7445c..63fe84c6ab 100644
--- a/internal/class.h
+++ b/internal/class.h
@@ -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;
diff --git a/mjit_c.rb b/mjit_c.rb
index 30a9f17a2c..7684755b6b 100644
--- a/mjit_c.rb
+++ b/mjit_c.rb
@@ -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)"),
diff --git a/tool/mjit/bindgen.rb b/tool/mjit/bindgen.rb
index 77b81814e3..4d79b32bc2 100755
--- a/tool/mjit/bindgen.rb
+++ b/tool/mjit/bindgen.rb
@@ -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