File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,16 @@ jobs:
23
23
- ' 1.10'
24
24
- ' 1'
25
25
- ' pre'
26
+ - ' nightly'
26
27
os :
27
28
- ubuntu-latest
28
29
- macOS-latest
29
30
- windows-latest
30
- arch :
31
- - x64
32
31
steps :
33
32
- uses : actions/checkout@v4
34
33
- uses : julia-actions/setup-julia@v2
35
34
with :
36
35
version : ${{ matrix.version }}
37
- arch : ${{ matrix.arch }}
38
36
show-versioninfo : ${{ matrix.version == 'nightly' }}
39
37
- uses : actions/cache@v4
40
38
env :
Original file line number Diff line number Diff line change @@ -31,7 +31,12 @@ isROOT(node::InferenceTimingNode) = isROOT(node.mi_timing)
31
31
getroot (node:: InferenceTimingNode ) = isdefined (node. parent, :parent ) ? getroot (node. parent) : node
32
32
33
33
# Record instruction pointers we've already looked up (performance optimization)
34
- const lookups = Dict {Union{UInt, Core.Compiler.InterpreterIP}, Vector{StackTraces.StackFrame}} ()
34
+ const lookups = if isdefined (Core. Compiler, :InterpreterIP )
35
+ Dict {Union{UInt, Core.Compiler.InterpreterIP}, Vector{StackTraces.StackFrame}} ()
36
+ else
37
+ # Julia 1.12+
38
+ Dict {Union{UInt, Base.InterpreterIP}, Vector{StackTraces.StackFrame}} ()
39
+ end
35
40
lookups_key (ip) = ip
36
41
lookups_key (ip:: Ptr{Nothing} ) = UInt (ip)
37
42
You can’t perform that action at this time.
0 commit comments