Skip to content

Commit

Permalink
atypes no longer needs to be modified to match cached types
Browse files Browse the repository at this point in the history
  • Loading branch information
jrevels committed May 4, 2018
1 parent 6106b90 commit b7bec8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/compiler/ssair/inlining2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ function assemble_inline_todo!(ir::IRCode, linetable::Vector{LineInfoNode}, sv::
for tuparg in ir[def].args[2:end]
push!(new_atypes, exprtype(tuparg, ir, ir.mod))
end
elseif isa(def, Argument) && def === stmt.args[end] && def.n === length(ir.argtypes) && !isempty(sv.result_vargs)
elseif isa(def, Argument) && def.n === length(ir.argtypes) && !isempty(sv.result_vargs)
append!(new_atypes, sv.result_vargs)
else
append!(new_atypes, typ.parameters)
Expand Down

0 comments on commit b7bec8d

Please sign in to comment.