diff --git a/src/parcel_snoop_inference.jl b/src/parcel_snoop_inference.jl index 6862ef4d..5d9fb1dc 100644 --- a/src/parcel_snoop_inference.jl +++ b/src/parcel_snoop_inference.jl @@ -31,7 +31,7 @@ isROOT(node::InferenceTimingNode) = isROOT(node.mi_timing) getroot(node::InferenceTimingNode) = isdefined(node.parent, :parent) ? getroot(node.parent) : node # Record instruction pointers we've already looked up (performance optimization) -const lookups = Dict{Union{UInt, Core.Compiler.InterpreterIP}, Vector{StackTraces.StackFrame}}() +const lookups = Dict{Union{UInt, Base.InterpreterIP}, Vector{StackTraces.StackFrame}}() lookups_key(ip) = ip lookups_key(ip::Ptr{Nothing}) = UInt(ip)