diff options
-rw-r--r-- | include/ruby/internal/core/robject.h | 10 | ||||
-rw-r--r-- | rjit_c.rb | 1 | ||||
-rw-r--r-- | yjit.c | 1 | ||||
-rw-r--r-- | yjit/src/cruby_bindings.inc.rs | 1 |
4 files changed, 0 insertions, 13 deletions
diff --git a/include/ruby/internal/core/robject.h b/include/ruby/internal/core/robject.h index c2bcae6306..1f2b7168b8 100644 --- a/include/ruby/internal/core/robject.h +++ b/include/ruby/internal/core/robject.h @@ -95,16 +95,6 @@ struct RObject { struct { /** Pointer to a C array that holds instance variables. */ VALUE *ivptr; - - /** - * This is a table that holds instance variable name to index - * mapping. Used when accessing instance variables using names. - * - * @internal - * - * This is a shortcut for `RCLASS_IV_INDEX_TBL(rb_obj_class(obj))`. - */ - struct rb_id_table *iv_index_tbl; } heap; /* Embedded instance variables. When an object is small enough, it @@ -806,7 +806,6 @@ module RubyVM::RJIT # :nodoc: all heap: CType::Struct.new( "", Primitive.cexpr!("SIZEOF(((struct RObject *)NULL)->as.heap)"), ivptr: [CType::Pointer.new { self.VALUE }, Primitive.cexpr!("OFFSETOF(((struct RObject *)NULL)->as.heap, ivptr)")], - iv_index_tbl: [CType::Pointer.new { self.rb_id_table }, Primitive.cexpr!("OFFSETOF(((struct RObject *)NULL)->as.heap, iv_index_tbl)")], ), ary: CType::Array.new { self.VALUE }, ), Primitive.cexpr!("OFFSETOF((*((struct RObject *)NULL)), as)")], @@ -42,7 +42,6 @@ // Field offsets for the RObject struct enum robject_offsets { ROBJECT_OFFSET_AS_HEAP_IVPTR = offsetof(struct RObject, as.heap.ivptr), - ROBJECT_OFFSET_AS_HEAP_IV_INDEX_TBL = offsetof(struct RObject, as.heap.iv_index_tbl), ROBJECT_OFFSET_AS_ARY = offsetof(struct RObject, as.ary), }; diff --git a/yjit/src/cruby_bindings.inc.rs b/yjit/src/cruby_bindings.inc.rs index 7ad24a274c..b8d115b488 100644 --- a/yjit/src/cruby_bindings.inc.rs +++ b/yjit/src/cruby_bindings.inc.rs @@ -972,7 +972,6 @@ pub const DEFINED_FUNC: defined_type = 16; pub const DEFINED_CONST_FROM: defined_type = 17; pub type defined_type = u32; pub const ROBJECT_OFFSET_AS_HEAP_IVPTR: robject_offsets = 16; -pub const ROBJECT_OFFSET_AS_HEAP_IV_INDEX_TBL: robject_offsets = 24; pub const ROBJECT_OFFSET_AS_ARY: robject_offsets = 16; pub type robject_offsets = u32; pub const RUBY_OFFSET_RSTRING_LEN: rstring_offsets = 16; |