Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Sep 22, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

altxtech and others added 4 commits September 22, 2025 12:28
## Context

#14409

#14409 (comment)
>You may have noticed that this doesn't produce a New range instruction. For that you probably need to use a local variable (makes it harder for the bytecode compiler to reason about, but the JIT sees through it). If you have time, please rewrite these tests.

#14409 (comment)
>There's some code above to do this for you: see arguments_likely_fixnums and coerce something or other

## Changes

### Refactor tests

Modify tests force the usage of `NewRangeFixnum` instruction and make tests names more consistent.  

### Refactor optimize ranges

Didn't found `arguments_likely_fixnums` to be applicable unless we enable profiling for `NewRange` and change the criteria of when the optimization fires. But there were other ways to clean up the code.  

Simplify the logic and move it to `type_specialize`. Deleted the standalone `optimize_ranges` function.
ZJIT: Improve zjit_bisect.rb

1. The command name in the help message is outdated.
2. When the command failed by itself, the message can be clearer.
@pull pull bot locked and limited conversation to collaborators Sep 22, 2025
@pull pull bot added the ⤵️ pull label Sep 22, 2025
@pull pull bot merged commit 1d15296 into turkdevops:master Sep 22, 2025
1 check failed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants