diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-02 12:23:22 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-02 12:23:23 -0700 |
commit | 3fe134759cc4904c74306e0832c22fa518a5bea2 (patch) | |
tree | b75bbd787fca2c8c97a95aa808c6126c081958b8 /lib/ruby_vm | |
parent | bf7587748d793265060fc2708421eaeddea7e4c0 (diff) | |
download | ruby-3fe134759cc4904c74306e0832c22fa518a5bea2.tar.gz |
Skip assert_linear_performance for RJIT
Diffstat (limited to 'lib/ruby_vm')
-rw-r--r-- | lib/ruby_vm/rjit/insn_compiler.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/ruby_vm/rjit/insn_compiler.rb b/lib/ruby_vm/rjit/insn_compiler.rb index be497bc9a1..b486b5b3d4 100644 --- a/lib/ruby_vm/rjit/insn_compiler.rb +++ b/lib/ruby_vm/rjit/insn_compiler.rb @@ -1366,7 +1366,7 @@ module RubyVM::RJIT # calling->ci mid = C.vm_ci_mid(cd.ci) - calling = build_calling(ci: cd.ci, block_handler:) + calling = build_calling(ci: cd.ci, block_handler: blockiseq) # vm_sendish cme, comptime_recv_klass = jit_search_method(jit, ctx, asm, mid, calling) @@ -3941,13 +3941,6 @@ module RubyVM::RJIT return blockiseq else if is_super - # GET_BLOCK_HANDLER(); - # Guard no block passed. Only handle that case for now. - asm.comment('guard no block given') - jit_get_lep(jit, asm, reg: :rax) - asm.cmp([:rax, C.VALUE.size * C::VM_ENV_DATA_INDEX_SPECVAL], C::VM_BLOCK_HANDLER_NONE) - asm.jne(counted_exit(side_exit, :send_block_handler)) - return C::VM_BLOCK_HANDLER_NONE else # Not implemented yet. Is this even necessary? asm.incr_counter(:send_block_setup) |