Skip to content

Commit bd193e4

Browse files
authored
Drop sources for constabi results in local cache (#58082)
Restores dropping these after #57979
1 parent 88f219e commit bd193e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Compiler/src/typeinfer.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,9 @@ function inline_cost_model(interp::AbstractInterpreter, result::InferenceResult,
380380
end
381381

382382
function transform_result_for_local_cache(interp::AbstractInterpreter, result::InferenceResult)
383+
if is_result_constabi_eligible(result)
384+
return nothing
385+
end
383386
src = result.src
384387
if isa(src, OptimizationState)
385388
# Compute and store any information required to determine the inlineability of the callee.

0 commit comments

Comments
 (0)