Skip to content

Commit

Permalink
Adjust to upcoming compiler change
Browse files Browse the repository at this point in the history
The `.inferred` field is being removed in [1], so delete the assertion.

[1] JuliaLang/julia#53219
  • Loading branch information
Keno committed Feb 18, 2024
1 parent 011edf9 commit 9dc52e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/optimize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ function optimize!(code::CodeInfo, scope)
mod = moduleof(scope)
evalmod = mod == Core.Compiler ? Core.Compiler : CompiledCalls
sparams = scope isa Method ? sparam_syms(scope) : Symbol[]
code.inferred && error("optimization of inferred code not implemented")
replace_coretypes!(code)
# TODO: because of builtins.jl, for CodeInfos like
# %1 = Core.apply_type
Expand Down

0 comments on commit 9dc52e0

Please sign in to comment.