Skip to content

Commit

Permalink
Update interpreter.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Dec 6, 2024
1 parent 192ad10 commit d121d48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/interpreter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ if VERSION >= v"1.11.0-"
function CC.ipo_dataflow_analysis!(interp::EnzymeInterpreter, ir::Core.Compiler.IRCode,
caller::Core.Compiler.InferenceResult)
mi = caller.linfo
specTypes = simplify_kw(mi.spectypes)
specTypes = simplify_kw(mi.specTypes)
inactive = false
has_rule = false
if is_inactive_from_sig(interp, specTypes, mi)
Expand All @@ -205,7 +205,7 @@ else # v1.10
function Core.Compiler.finish(interp::EnzymeInterpreter, opt::Core.Compiler.OptimizationState, ir::Core.Compiler.IRCode,
caller::Core.Compiler.InferenceResult)
mi = caller.linfo
specTypes = simplify_kw(mi.spectypes)
specTypes = simplify_kw(mi.specTypes)
inactive = false
has_rule = false
if is_inactive_from_sig(interp, specTypes, mi)
Expand Down

0 comments on commit d121d48

Please sign in to comment.