Skip to content

Commit f4f996d

Browse files
committed
remove condition on getindex overload
1 parent 13762e7 commit f4f996d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/stage1/compiler_utils.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ function Base.push!(cfg::CFG, bb::BasicBlock)
77
push!(cfg.index, bb.stmts.start)
88
end
99

10-
if VERSION <= v"1.11.0-DEV.116"
11-
Base.getindex(ir::IRCode, ssa::SSAValue) = Core.Compiler.getindex(ir, ssa)
12-
end
10+
Base.getindex(ir::IRCode, ssa::SSAValue) = Core.Compiler.getindex(ir, ssa)
1311

1412
Base.copy(ir::IRCode) = Core.Compiler.copy(ir)
1513

0 commit comments

Comments
 (0)