Skip to content

Commit 09fafac

Browse files
authored
1.8 compatibility. (#244)
1 parent 82f375b commit 09fafac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jlgen.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ struct GPUInterpreter <: AbstractInterpreter
196196

197197
# parameters for inference and optimization
198198
InferenceParams(unoptimize_throw_blocks=false),
199-
OptimizationParams(unoptimize_throw_blocks=false),
199+
VERSION >= v"1.8.0-DEV.486" ? OptimizationParams() :
200+
OptimizationParams(unoptimize_throw_blocks=false),
200201
)
201202
end
202203
end

0 commit comments

Comments
 (0)