+ // HACK: in order to allow for call site score
+ // adjustments, we used a relaxed inline budget in
+ // determining inlinability. Here what we want to know is
+ // whether the func in question is likely to be inlined,
+ // as opposed to whether it might possibly be inlined if
+ // all the right score adjustments happened, so check the
+ // cost here as well.
+ if f.Inl != nil && f.Inl.Cost <= ra.inlineMaxBudget {