Skip to content

Kwargy#7513

Merged
enebo merged 6 commits intojruby:masterfrom
enebo:kwargy
Dec 6, 2022
Merged

Kwargy#7513
enebo merged 6 commits intojruby:masterfrom
enebo:kwargy

Conversation

@enebo
Copy link
Member

@enebo enebo commented Dec 5, 2022

Largely removing more old design setting of values that IRBuilder was calculating before any instructions were executed.

The JIT fixes revolve around specific arity generated methods needing to run checkArity before executing the method body. This is the only place we can see an additional **{} as it will be stripped off before we could execute instrs.

@enebo enebo added this to the JRuby 9.4.1.0 milestone Dec 5, 2022
enebo added 3 commits December 5, 2022 15:41
Since checkArity happens before IR is executed AND the extra argument
is dropped by a specific arity method before IR starts executing; we will
add logic to detect **{} into a different version of IR helper check arity
to not raise.
@enebo enebo merged commit 33e27e4 into jruby:master Dec 6, 2022
@enebo enebo deleted the kwargy branch March 4, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant