Skip to content

Commit a0f8d48

Browse files
committed
1 parent 259ce7d commit a0f8d48

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/analyzers/jetanalyzer.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,11 @@ let # overload `const_prop_entry_heuristic`
304304
end
305305

306306
let # overload `concrete_eval_eligible`
307-
@static if @isdefined(StmtInfo)
307+
@static if VERSION v"1.10.0-DEV.350"
308+
# https://github.com/JuliaLang/julia/pull/48246
309+
sigs_ex = :(analyzer::JETAnalyzer,
310+
@nospecialize(f), result::MethodCallResult, arginfo::ArgInfo, sv::InferenceState)
311+
elseif VERSION v"1.9.0-DEV.1472"
308312
# https://github.com/JuliaLang/julia/pull/46966
309313
sigs_ex = :(analyzer::JETAnalyzer,
310314
@nospecialize(f), result::MethodCallResult, arginfo::ArgInfo)

0 commit comments

Comments
 (0)