Lines Matching refs:inlining
7 // Test, using compiler diagnostic flags, that inlining is working.
18 return (*byte)(add1(unsafe.Pointer(p), n)) // ERROR "inlining call to add1"
26 return add2(x, 1) // ERROR "inlining call to add2" "inlining call to add1"
60 e(somethingWrong) // ERROR "inlining call to l.func1"
65 // any re-assignment prevents closure inlining
73 // address taking prevents closure inlining
93 return func() int { return 42 }() // ERROR "can inline p.func1" "inlining call to p.func1"
98 return foo() // ERROR "inlining call to q.func1"
108 }(x) // ERROR "inlining call to r.func2.1"
110 return foo(42) + bar(42) // ERROR "inlining call to r.func1"
117 foo() // ERROR "inlining call to s0.func1" "&x does not escape"
126 return foo() // ERROR "inlining call to s1.func1" "&x does not escape"
163 T.meth(k()) // ERROR "inlining call to k" "inlining call to T.meth"