зеркало из https://github.com/github/ruby.git
Remove iv_index_tbl_entry
This commit is contained in:
Родитель
abeef41c95
Коммит
b652dbf63b
|
@ -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;
|
||||
|
|
|
@ -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)"),
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче