Skip to content

Eliminate 2- and 3-arity paths for Enumerator#initialize#7709

Merged
headius merged 1 commit intojruby:masterfrom
headius:enumerator_arity_error_jit
Mar 3, 2023
Merged

Eliminate 2- and 3-arity paths for Enumerator#initialize#7709
headius merged 1 commit intojruby:masterfrom
headius:enumerator_arity_error_jit

Conversation

@headius
Copy link
Member

@headius headius commented Mar 2, 2023

The JIT may call along these paths and they do not properly reject arities higher than 1.

Fixes #7708

The JIT may call along these paths and they do not properly reject
arities higher than 1.

Fixes jruby#7708
@headius headius added this to the JRuby 9.4.3.0 milestone Mar 2, 2023
@headius headius merged commit 54b2049 into jruby:master Mar 3, 2023
@headius headius deleted the enumerator_arity_error_jit branch March 3, 2023 19:18
@headius headius modified the milestones: JRuby 9.4.3.0, JRuby 9.4.2.0 Mar 3, 2023
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.

Enumerator.new takes at most one arg

1 participant