@@ -98,12 +98,12 @@ Let's see all the compiled instances of `Base.setdiff` and their immediate calle
9898``` jldoctest; setup=(using MethodAnalysis)
9999julia> direct_backedges(setdiff)
1001006-element Vector{Any}:
101- MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for REPL.LineEdit. keymap_merge(::Dict{Char, Any}, ::Dict{Any, Any})
102- MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for REPL.LineEdit. keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}})
103- MethodInstance for setdiff(::Base.KeySet{Char, Dict{Char, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for REPL.LineEdit. keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}})
104- MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Char, Dict{Char, Any}}) => MethodInstance for REPL.LineEdit. keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}})
105- MethodInstance for setdiff(::Base.KeySet{Char, Dict{Char, Any}}, ::Base.KeySet{Char, Dict{Char, Any}}) => MethodInstance for REPL.LineEdit. keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}})
106- MethodInstance for setdiff(::Vector{Base.UUID}, ::Vector{Base.UUID}) => MethodInstance for Pkg.Operations. deps_graph(::Pkg.Types.Context, ::Dict{Base.UUID, String}, ::Dict{Base.UUID, Pkg.Types.VersionSpec}, ::Dict{Base.UUID, Pkg.Resolve.Fixed})
101+ MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for keymap_merge(::Dict{Char, Any}, ::Dict{Any, Any})
102+ MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}})
103+ MethodInstance for setdiff(::Base.KeySet{Char, Dict{Char, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}})
104+ MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Char, Dict{Char, Any}}) => MethodInstance for keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}})
105+ MethodInstance for setdiff(::Base.KeySet{Char, Dict{Char, Any}}, ::Base.KeySet{Char, Dict{Char, Any}}) => MethodInstance for keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}})
106+ MethodInstance for setdiff(::Vector{Base.UUID}, ::Vector{Base.UUID}) => MethodInstance for deps_graph(::Pkg.Types.Context, ::Dict{Base.UUID, String}, ::Dict{Base.UUID, Pkg.Types.VersionSpec}, ::Dict{Base.UUID, Pkg.Resolve.Fixed})
107107```
108108
109109### Printing backedges as a tree
@@ -116,36 +116,36 @@ MethodInstance for findfirst(::BitVector)
116116
117117julia> MethodAnalysis.print_tree(mi)
118118MethodInstance for findfirst(::BitVector)
119- ├─ MethodInstance for Pkg.Resolve. prune_graph!(::Graph)
120- │ └─ MethodInstance for Pkg.Resolve. var"#simplify_graph!#111"(::Bool, ::typeof(simplify_graph!), ::Graph, ::Set{Int64})
121- │ └─ MethodInstance for Pkg.Resolve. simplify_graph!(::Graph, ::Set{Int64})
122- │ └─ MethodInstance for Pkg.Resolve. simplify_graph!(::Graph)
123- │ ├─ MethodInstance for Pkg.Resolve. trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64})
119+ ├─ MethodInstance for prune_graph!(::Graph)
120+ │ └─ MethodInstance for var"#simplify_graph!#111"(::Bool, ::typeof(simplify_graph!), ::Graph, ::Set{Int64})
121+ │ └─ MethodInstance for simplify_graph!(::Graph, ::Set{Int64})
122+ │ └─ MethodInstance for simplify_graph!(::Graph)
123+ │ ├─ MethodInstance for trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64})
124124│ │ ⋮
125125│ │
126- │ └─ MethodInstance for Pkg.Operations. resolve_versions!(::Context, ::Vector{PackageSpec})
126+ │ └─ MethodInstance for resolve_versions!(::Context, ::Vector{PackageSpec})
127127│ ⋮
128128│
129- └─ MethodInstance for Pkg.Resolve. update_solution!(::SolutionTrace, ::Graph)
130- └─ MethodInstance for Pkg.Resolve. converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
131- ├─ MethodInstance for Pkg.Resolve. converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
132- │ ├─ MethodInstance for Pkg.Resolve. converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
133- │ │ ├─ MethodInstance for Pkg.Resolve. converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
129+ └─ MethodInstance for update_solution!(::SolutionTrace, ::Graph)
130+ └─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
131+ ├─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
132+ │ ├─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
133+ │ │ ├─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
134134 │ │ │ ⋮
135135 │ │ │
136- │ │ └─ MethodInstance for Pkg.Resolve. maxsum(::Graph)
136+ │ │ └─ MethodInstance for maxsum(::Graph)
137137 │ │ ⋮
138138 │ │
139- │ └─ MethodInstance for Pkg.Resolve. maxsum(::Graph)
140- │ └─ MethodInstance for Pkg.Resolve. resolve(::Graph)
139+ │ └─ MethodInstance for maxsum(::Graph)
140+ │ └─ MethodInstance for resolve(::Graph)
141141 │ ⋮
142142 │
143- └─ MethodInstance for Pkg.Resolve. maxsum(::Graph)
144- └─ MethodInstance for Pkg.Resolve. resolve(::Graph)
145- ├─ MethodInstance for Pkg.Resolve. trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64})
143+ └─ MethodInstance for maxsum(::Graph)
144+ └─ MethodInstance for resolve(::Graph)
145+ ├─ MethodInstance for trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64})
146146 │ ⋮
147147 │
148- └─ MethodInstance for Pkg.Operations. resolve_versions!(::Context, ::Vector{PackageSpec})
148+ └─ MethodInstance for resolve_versions!(::Context, ::Vector{PackageSpec})
149149 ⋮
150150```
151151
0 commit comments