Skip to content

Commit 3fbb6f0

Browse files
committed
Update base/compiler/abstractinterpretation.jl
1 parent b3f9e75 commit 3fbb6f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/compiler/abstractinterpretation.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,8 @@ function abstract_invoke(interp::AbstractInterpreter, argtypes::Vector{Any}, sv:
11571157
(; rt, edge) = result = abstract_call_method(interp, method, ti, env, false, sv)
11581158
edge !== nothing && add_backedge!(edge::MethodInstance, sv)
11591159
match = MethodMatch(ti, env, method, argtype <: method.sig)
1160-
# try constant propagation with early take-in of the heuristics -- since constuctions below seem to be a bit costly
1160+
# try constant propagation with manual inlinings of some of the heuristics
1161+
# since some checks within `abstract_call_method_with_const_args` seem a bit costly
11611162
const_prop_entry_heuristic(interp, result, sv) || return CallMeta(rt, InvokeCallInfo(match, nothing))
11621163
argtypes′ = argtypes[4:end]
11631164
const_prop_argument_heuristic(interp, argtypes′) || const_prop_rettype_heuristic(interp, rt) || return CallMeta(rt, InvokeCallInfo(match, nothing))

0 commit comments

Comments
 (0)