Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Compiler/src/typeinfer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ function inline_cost_model(interp::AbstractInterpreter, result::InferenceResult,
end

function transform_result_for_local_cache(interp::AbstractInterpreter, result::InferenceResult)
if is_result_constabi_eligible(result)
return nothing
end
src = result.src
if isa(src, OptimizationState)
# Compute and store any information required to determine the inlineability of the callee.
Expand Down