Skip to content

ZJIT: Drop a duplicated call into optimize #13196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 28, 2025
Merged

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Apr 28, 2025

This PR removes a duplicated call into optimize(), which is a minor follow-up on Shopify/zjit#109.

compile_iseq() does that, so no need to call it after that.

@matzbot matzbot requested a review from a team April 28, 2025 18:10
Co-authored-by: Max Bernstein <tekknolagi@gmail.com>
@k0kubun k0kubun merged commit 1e41668 into ruby:master Apr 28, 2025
64 of 67 checks passed
@k0kubun k0kubun deleted the zjit-dup-opt branch April 28, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants