diff options
author | Takashi Kokubun <[email protected]> | 2022-11-28 22:46:00 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2022-11-28 22:46:20 -0800 |
commit | 322e546f60e3a66b9af6aa1b8c7006369932ce27 (patch) | |
tree | 8790af34c8d49a626777f494dbd5eb5dfbce9336 | |
parent | 8be62f06c8e583578aa3b8ffc4bf02e3273248df (diff) |
MJIT: Remove an unused field
This has not been used since recent shape-related changes.
-rw-r--r-- | mjit_c.h | 1 | ||||
-rw-r--r-- | mjit_c.rb | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -47,7 +47,6 @@ struct compile_status { // Mutated optimization levels struct rb_mjit_compile_info *compile_info; bool merge_ivar_guards_p; // If true, merge guards of ivar accesses - size_t max_ivar_index; // Max IVC index in is_entries (used only when merge_ivar_guards_p) // If `inlined_iseqs[pos]` is not NULL, `mjit_compile_body` tries to inline ISeq there. const struct rb_iseq_constant_body **inlined_iseqs; struct inlined_call_context inline_context; @@ -241,7 +241,6 @@ module RubyVM::MJIT compiled_id: [CType::Immediate.parse("int"), Primitive.cexpr!("OFFSETOF((*((struct compile_status *)NULL)), compiled_id)")], compile_info: [CType::Pointer.new { self.rb_mjit_compile_info }, Primitive.cexpr!("OFFSETOF((*((struct compile_status *)NULL)), compile_info)")], merge_ivar_guards_p: [self._Bool, Primitive.cexpr!("OFFSETOF((*((struct compile_status *)NULL)), merge_ivar_guards_p)")], - max_ivar_index: [CType::Immediate.parse("size_t"), Primitive.cexpr!("OFFSETOF((*((struct compile_status *)NULL)), max_ivar_index)")], inlined_iseqs: [CType::Pointer.new { CType::Pointer.new { self.rb_iseq_constant_body } }, Primitive.cexpr!("OFFSETOF((*((struct compile_status *)NULL)), inlined_iseqs)")], inline_context: [self.inlined_call_context, Primitive.cexpr!("OFFSETOF((*((struct compile_status *)NULL)), inline_context)")], ) |