diff --git a/base/compiler/ssair/irinterp.jl b/base/compiler/ssair/irinterp.jl index cfda4e579b12d..5c5b3db170d92 100644 --- a/base/compiler/ssair/irinterp.jl +++ b/base/compiler/ssair/irinterp.jl @@ -3,12 +3,12 @@ function codeinst_to_ir(interp::AbstractInterpreter, code::CodeInstance) src = code.inferred mi = code.def - isa(src, Union{CodeInfo, Vector{UInt8}}) || return src - if isa(src, Vector{UInt8}) src = ccall(:jl_uncompress_ir, Any, (Any, Ptr{Cvoid}, Any), mi.def, C_NULL, src::Vector{UInt8})::CodeInfo end + isa(src, CodeInfo) || return src + return inflate_ir(src, mi) end