Currently if a callsite is hot as determined by the sample profile, it is unconditionally inlined barring invalid cases (such as recursion). Inline cost check should still apply because a function's hotness and its inline cost are two different things. For example if a function is calling another very large function multiple times (at different code paths), the large function should not be inlined even if its hot.
4 lines
32 B
Plaintext
4 lines
32 B
Plaintext
foo:100:100
|
|
1: bar:100
|
|
1:100
|