From 803cc34f9ba31b87cad06ecb7845336830f64abc Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Tue, 19 Nov 2024 23:13:41 -0500 Subject: [PATCH] Fix InterpreterIP reference --- src/parcel_snoop_inference.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)