Skip to content

Commit 82b1552

Browse files
authored
Adjust to upcoming compiler change (#611)
The `.inferred` field is being removed in [1], so delete the assertion. [1] JuliaLang/julia#53219
1 parent 011edf9 commit 82b1552

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/optimize.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ function optimize!(code::CodeInfo, scope)
6868
mod = moduleof(scope)
6969
evalmod = mod == Core.Compiler ? Core.Compiler : CompiledCalls
7070
sparams = scope isa Method ? sparam_syms(scope) : Symbol[]
71-
code.inferred && error("optimization of inferred code not implemented")
7271
replace_coretypes!(code)
7372
# TODO: because of builtins.jl, for CodeInfos like
7473
# %1 = Core.apply_type

0 commit comments

Comments
 (0)