aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ruby_vm
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-04-04 01:17:23 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-04-04 01:17:23 -0700
commit51b2f4c0f562ee57dca14820967556d730c2ac9e (patch)
tree9c931552dc8080526e694004ca97ce894c14a889 /lib/ruby_vm
parent98f0e2c330a261a96e3a90ff4f5a8c671abdbec5 (diff)
downloadruby-51b2f4c0f562ee57dca14820967556d730c2ac9e.tar.gz
RJIT: Fix the argument of shift_stack
Diffstat (limited to 'lib/ruby_vm')
-rw-r--r--lib/ruby_vm/rjit/insn_compiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ruby_vm/rjit/insn_compiler.rb b/lib/ruby_vm/rjit/insn_compiler.rb
index 51ff1667b4..540c8f2c49 100644
--- a/lib/ruby_vm/rjit/insn_compiler.rb
+++ b/lib/ruby_vm/rjit/insn_compiler.rb
@@ -5421,7 +5421,7 @@ module RubyVM::RJIT
asm.mov(opnd2, :rax)
end
- ctx.shift_stack(1)
+ ctx.shift_stack(argc)
end
# vm_call_symbol