diff --git a/base/compiler/types.jl b/base/compiler/types.jl index f483787baffdf8..9808667893a110 100644 --- a/base/compiler/types.jl +++ b/base/compiler/types.jl @@ -480,7 +480,6 @@ function add_edges!(edges::Vector{Any}, info::CallInfo) end nsplit(info::CallInfo) = nsplit_impl(info)::Union{Nothing,Int} getsplit(info::CallInfo, idx::Int) = getsplit_impl(info, idx)::MethodLookupResult -add_uncovered_edges!(edges::Vector{Any}, info::CallInfo, @nospecialize(atype)) = add_uncovered_edges_impl(edges, info, atype) getresult(info::CallInfo, idx::Int) = getresult_impl(info, idx)#=::Union{Nothing,ConstResult}=# add_edges_impl(::Vector{Any}, ::CallInfo) = error(""" @@ -489,9 +488,6 @@ nsplit_impl(::CallInfo) = nothing getsplit_impl(::CallInfo, ::Int) = error(""" A `info::CallInfo` that implements `nsplit_impl(info::CallInfo) -> Int` must implement `getsplit_impl(info::CallInfo, idx::Int) -> MethodLookupResult` in order to correctly opt in to inlining""") -add_uncovered_edges_impl(::Vector{Any}, ::CallInfo, _) = error(""" - A `info::CallInfo` that implements `nsplit_impl(info::CallInfo) -> Int` must implement `add_uncovered_edges_impl(edges::Vector{Any}, info::CallInfo, atype)` - in order to correctly opt in to inlining""") getresult_impl(::CallInfo, ::Int) = nothing @specialize diff --git a/test/compiler/AbstractInterpreter.jl b/test/compiler/AbstractInterpreter.jl index 02e9c162720878..c32d60e85dda2f 100644 --- a/test/compiler/AbstractInterpreter.jl +++ b/test/compiler/AbstractInterpreter.jl @@ -409,7 +409,6 @@ 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) function CC.abstract_call(interp::NoinlineInterpreter,