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

[release-1.10] Avoid dropping call edges in presence of identical invoke edges #57079

Open
wants to merge 1 commit into
base: release-1.10
Choose a base branch
from

Conversation

topolarity
Copy link
Member

Backport of #57077 to Julia 1.10

The intermediate data structure here (used for edge de-duplication)
was accidentally recording `invoke` edges as if they were `call` edges.

This bug is _very_ frequently benign, but if there are identical call
and invoke edges in the edge list and the invoke edge is scanned first,
the call edge will be unsoundly dropped, leading to invalidation (JuliaLang#265)
bugs.
@topolarity topolarity changed the title [release-1.10] Avoid dropping call edge due to identical invoke edge [release-1.10] Avoid dropping call edges in presence of identical invoke edges Jan 17, 2025
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.

1 participant