Skip to content

Decode invoke backedges on Julia 1.12+ - #62

Merged
timholy merged 1 commit into
masterfrom
teh/backedge-invokesig
Aug 18, 2026
Merged

Decode invoke backedges on Julia 1.12+#62
timholy merged 1 commit into
masterfrom
teh/backedge-invokesig

Conversation

@timholy

@timholy timholy commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Julia 1.12 removed BackedgeIterator, exposing raw interleaved invokesig, caller entries to consumers. Add backedge_pairs to decode them consistently across Julia versions, and route backedge traversal and direct queries through it.

Normalize signature-carrying edges to their MethodInstance when collecting all and terminal backedges.

Assisted-by: Claude Opus 5 noreply@anthropic.com

Julia 1.12 removed `BackedgeIterator`, exposing raw interleaved
`invokesig, caller` entries to consumers. Add `backedge_pairs` to decode
them consistently across Julia versions, and route backedge traversal and
direct queries through it.

Normalize signature-carrying edges to their `MethodInstance` when collecting
all and terminal backedges.

Assisted-by: Claude Opus 5 <noreply@anthropic.com>
@timholy
timholy merged commit a1993d0 into master Aug 18, 2026
11 of 14 checks passed
@timholy
timholy deleted the teh/backedge-invokesig branch August 18, 2026 11:52
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