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: Fix insufficient type guards #9911

Merged
merged 1 commit into from Feb 12, 2024
Merged

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Feb 9, 2024

I think we copied Type::UnknownHeap.diff(object_type) from guard_object_is_heap, but the guarded type should match the one it's being upgraded to.

@matzbot matzbot requested a review from a team February 9, 2024 23:11
Copy link
Contributor

@maximecb maximecb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 👍

@maximecb maximecb merged commit b9f25b1 into ruby:master Feb 12, 2024
98 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants