Skip to content
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

YJIT: add an assert for branch_stub_hit() #6505

Merged
merged 1 commit into from Oct 6, 2022

Conversation

XrXr
Copy link
Member

@XrXr XrXr commented Oct 6, 2022

We set the PC in branch_stub_hit(), which only makes sense if we're running with the intended iseq for the stub. We ran into an issue caught by this while tweaking code layout.

We set the PC in branch_stub_hit(), which only makes sense if we're
running with the intended iseq for the stub. We ran into an issue caught
by this while tweaking code layout.
@matzbot matzbot requested a review from a team October 6, 2022 21:09
@maximecb maximecb merged commit 0472eff into ruby:master Oct 6, 2022
@XrXr XrXr deleted the stub-hit-assert branch October 7, 2022 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants