Commit 3842dc1
committed
Fix inliner size scaling based on number of calls
When scaling the estimated size of a candidate for inlining based on
frequency and the number of estimated calls nested in the candidate, the
calculation inadvertantly ignores the number of estimated calls and uses
a value derived from the frequency twice. This doesn't appear to be the
intention of the code at all.
Signed-off-by: Younes Manton <ymanton@ca.ibm.com>1 parent 163a5c0 commit 3842dc1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4155 | 4155 | | |
4156 | 4156 | | |
4157 | 4157 | | |
4158 | | - | |
| 4158 | + | |
4159 | 4159 | | |
4160 | 4160 | | |
4161 | 4161 | | |
| |||
0 commit comments