aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ruby_vm/rjit
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-04-03 21:22:02 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-04-03 21:26:40 -0700
commit6ab86e462624df5d7d0d7661f9511d05c0363224 (patch)
tree0c05a3fb09b0a146f9ce39465b2536463d7e2339 /lib/ruby_vm/rjit
parent1d529f382c4b855d22289990c4369ee68ddd3adc (diff)
downloadruby-6ab86e462624df5d7d0d7661f9511d05c0363224.tar.gz
RJIT: Fix arguments for shift_stack
Diffstat (limited to 'lib/ruby_vm/rjit')
-rw-r--r--lib/ruby_vm/rjit/insn_compiler.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ruby_vm/rjit/insn_compiler.rb b/lib/ruby_vm/rjit/insn_compiler.rb
index f01fb684c7..f99dbff651 100644
--- a/lib/ruby_vm/rjit/insn_compiler.rb
+++ b/lib/ruby_vm/rjit/insn_compiler.rb
@@ -5128,7 +5128,7 @@ module RubyVM::RJIT
# This is a .send call and we need to adjust the stack
if flags & C::VM_CALL_OPT_SEND != 0
- handle_opt_send_shift_stack(ctx, asm, argc, send_shift:)
+ handle_opt_send_shift_stack(asm, argc, ctx, send_shift:)
end
# Save the PC and SP because the callee may allocate
@@ -5316,7 +5316,7 @@ module RubyVM::RJIT
# If this is a .send call we need to adjust the stack
if flags & C::VM_CALL_OPT_SEND != 0
- handle_opt_send_shift_stack(ctx, asm, argc, send_shift:)
+ handle_opt_send_shift_stack(asm, argc, ctx, send_shift:)
end
# About to reset the SP, need to load this here
@@ -5363,7 +5363,7 @@ module RubyVM::RJIT
# This is a .send call and we need to adjust the stack
if flags & C::VM_CALL_OPT_SEND != 0
- handle_opt_send_shift_stack(ctx, asm, argc, send_shift:)
+ handle_opt_send_shift_stack(asm, argc, ctx, send_shift:)
end
# All structs from the same Struct class should have the same