Skip to content

Commit b3f9e75

Browse files
committed
Update base/compiler/abstractinterpretation.jl
1 parent 369f4a0 commit b3f9e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/compiler/abstractinterpretation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ function abstract_invoke(interp::AbstractInterpreter, argtypes::Vector{Any}, sv:
11621162
argtypes′ = argtypes[4:end]
11631163
const_prop_argument_heuristic(interp, argtypes′) || const_prop_rettype_heuristic(interp, rt) || return CallMeta(rt, InvokeCallInfo(match, nothing))
11641164
pushfirst!(argtypes′, ft)
1165-
# # typeintersect might have narrowed signature
1165+
# # typeintersect might have narrowed signature, but the accuracy gain doesn't seem worth the cost involved with the lattice comparisons
11661166
# for i in 1:length(argtypes′)
11671167
# t, a = ti.parameters[i], argtypes′[i]
11681168
# argtypes′[i] = t ⊑ a ? t : a

0 commit comments

Comments
 (0)