mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 22:14:37 +02:00
Reset chain_depth in more places
This commit is contained in:
parent
4a124dc1de
commit
bd0d0d3b38
Notes:
git
2023-03-06 07:29:33 +00:00
2 changed files with 5 additions and 0 deletions
|
@ -3623,6 +3623,7 @@ module RubyVM::MJIT
|
|||
return_ctx = ctx.dup
|
||||
return_ctx.stack_size -= argc # Pop args. blockarg has been popped
|
||||
return_ctx.sp_offset = 1 # SP is in the position after popping a receiver and arguments
|
||||
return_ctx.chain_depth = 0
|
||||
branch_stub = BranchStub.new(
|
||||
iseq: jit.iseq,
|
||||
shape: Default,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue