Skip to content

Commit

Permalink
Update base/compiler/abstractinterpretation.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Jun 29, 2021
1 parent 369f4a0 commit b3f9e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/compiler/abstractinterpretation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ function abstract_invoke(interp::AbstractInterpreter, argtypes::Vector{Any}, sv:
argtypes′ = argtypes[4:end]
const_prop_argument_heuristic(interp, argtypes′) || const_prop_rettype_heuristic(interp, rt) || return CallMeta(rt, InvokeCallInfo(match, nothing))
pushfirst!(argtypes′, ft)
# # typeintersect might have narrowed signature
# # typeintersect might have narrowed signature, but the accuracy gain doesn't seem worth the cost involved with the lattice comparisons
# for i in 1:length(argtypes′)
# t, a = ti.parameters[i], argtypes′[i]
# argtypes′[i] = t ⊑ a ? t : a
Expand Down

0 comments on commit b3f9e75

Please sign in to comment.