mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
RJIT: Fix arguments for shift_stack
This commit is contained in:
parent
1d529f382c
commit
6ab86e4626
2 changed files with 28 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue