diff options
author | Takashi Kokubun <[email protected]> | 2023-02-08 17:38:38 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-03-05 22:41:35 -0800 |
commit | 557bd8640203efd9056927fbdcfdcfe9e3270235 (patch) | |
tree | e360eb591e66515893ac2f11c997ef4b7b7c9d9c | |
parent | 6bc8e4a279f953148e17b23b25f0db8d3d37fcbb (diff) |
Re-enable opt_aref with Hash
-rw-r--r-- | lib/ruby_vm/mjit/insn_compiler.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/ruby_vm/mjit/insn_compiler.rb b/lib/ruby_vm/mjit/insn_compiler.rb index a4d79127be..cbf3cfca26 100644 --- a/lib/ruby_vm/mjit/insn_compiler.rb +++ b/lib/ruby_vm/mjit/insn_compiler.rb @@ -581,13 +581,6 @@ module RubyVM::MJIT asm.incr_counter(:optaref_array) CantCompile elsif comptime_recv.class == Hash - # jit_prepare_routine_call seems to break something. Disabled until we figure it out. - disabled = true - if disabled - asm.incr_counter(:optaref_hash) - return CantCompile - end - unless @invariants.assume_bop_not_redefined(jit, C.HASH_REDEFINED_OP_FLAG, C.BOP_AREF) return CantCompile end |