Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno committed Sep 28, 2024
1 parent d2ddb17 commit 6b853e2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/analysis/interpreter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,13 @@ end
Diffractor.disable_forward(interp::DAEInterpreter) = CC.NativeInterpreter(interp.world)

function CC.InferenceParams(::DAEInterpreter)
return CC.InferenceParams(;
unoptimize_throw_blocks=false,
assume_bindings_static=true,
ignore_recursion_hardlimit=true)
args = (;
assume_bindings_static=true,
ignore_recursion_hardlimit=true)
if VERSION < v"1.12.0-DEV.1017"
args = (; unoptimize_throw_blocks=false, args...)
end
return CC.InferenceParams(; args...)
end
function CC.OptimizationParams(::DAEInterpreter)
opt_params = CC.OptimizationParams(;
Expand Down

0 comments on commit 6b853e2

Please sign in to comment.