Skip to content

Commit

Permalink
retry buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Atol committed Apr 4, 2022
1 parent abb75d9 commit 96e4731
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/compiler/ssair/irinterp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 96e4731

Please sign in to comment.