Skip to content

Commit

Permalink
fix test failure on v1.11 nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Mar 26, 2024
1 parent 1991e39 commit f3dd6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpreter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ end

function create_cthulhu_source(@nospecialize(opt), effects::Effects)
isa(opt, OptimizationState) || return opt
@static if VERSION v"1.11"
@static if VERSION v"1.11-"
# get the (theoretically) same effect as the jl_compress_ir -> jl_uncompress_ir -> inflate_ir round-trip
ir = CC.compact!(CC.cfg_simplify!(CC.copy(opt.ir::IRCode)))
else
Expand Down

0 comments on commit f3dd6cd

Please sign in to comment.