Skip to content

Commit

Permalink
adjustments to backports-1.11 (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk authored Jun 21, 2024
1 parent c9cacdd commit aba42a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/analyzers/jetanalyzer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ end
function CC.concrete_eval_eligible(analyzer::JETAnalyzer,
@nospecialize(f), result::MethodCallResult, arginfo::ArgInfo, sv::InferenceState)
if CC.is_nothrow(result.effects)
neweffects = CC.Effects(result.effects; nonoverlayed=true)
neweffects = CC.Effects(result.effects;
nonoverlayed=@static VERSION v"1.11.0-beta2.49" ? CC.ALWAYS_TRUE : true)
@static if VERSION v"1.11.0-DEV.945"
newresult = MethodCallResult(result.rt, result.exct, result.edgecycle, result.edgelimited,
result.edge, neweffects)
Expand Down

0 comments on commit aba42a6

Please sign in to comment.