Line | Hotness | Optimization | Source | Inline Context |
---|---|---|---|---|
1 | infix operator •: AdditionPrecedence |
|||
2 | ||||
3 | func • (a: Int, b: Int) -> Int { |
|||
4 | return a * b |
|||
5 | } |
|||
6 | ||||
7 | @inline(never) |
|||
8 | func g(a: Int) -> Int{ |
|||
9 | return a + 1 |
|||
10 | } |
|||
11 | ||||
12 | let i = g(a: 1 • 2) |
|||
sil-inliner | "s.• infix(_:_:)" inlined into "main" (cost = 2, benefit = 40) |
main | ||
13 |