Skip to content

Commit

Permalink
fix NoinlineCallInfo implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Sep 26, 2024
1 parent f26e9f7 commit f081d25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/compiler/AbstractInterpreter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,11 @@ import .CC: CallInfo
struct NoinlineCallInfo <: CallInfo
info::CallInfo # wrapped call
end
CC.add_edges_impl(edges::Vector{Any}, info::NoinlineCallInfo) = CC.add_edges!(edges, info.info)
CC.nsplit_impl(info::NoinlineCallInfo) = CC.nsplit(info.info)
CC.getsplit_impl(info::NoinlineCallInfo, idx::Int) = CC.getsplit(info.info, idx)
CC.add_uncovered_edges_impl(edges::Vector{Any}, info::NoinlineCallInfo, @nospecialize(atype)) = CC.add_uncovered_edges!(edges, info.info, atype)
CC.getresult_impl(info::NoinlineCallInfo, idx::Int) = CC.getresult(info.info, idx)
CC.add_edges!(edges::Vector{Any}, info::NoinlineCallInfo) = CC.add_edges!(edges, info.info)

function CC.abstract_call(interp::NoinlineInterpreter,
arginfo::CC.ArgInfo, si::CC.StmtInfo, sv::CC.InferenceState, max_methods::Int)
Expand Down

0 comments on commit f081d25

Please sign in to comment.