1 // Copyright 2023 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
9 func inlinable(x int, f func(int) int) int {
17 func inlinable2(x int) int {
22 func noninl(x int) int {
26 func tooLargeToInline(x int) int {
28 // Drive up the cost of inlining this func over the
30 return big(big(big(big(big(G + x)))))
33 // make sure this callsite is scored properly
34 G += inlinable(101, inlinable2)
44 return noninl(q) + noninl(-q)