diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-13 10:46:05 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-13 13:46:23 +1000 |
| commit | a2261ad66400c3145f96ebff0d9b75e910fa89dd (patch) | |
| tree | 2593d02088380d3f5c745e6495596383183e1214 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 2b8116dced2c6c5d02e1c4359e89dc0919d6001b (diff) | |
| download | rust-a2261ad66400c3145f96ebff0d9b75e910fa89dd.tar.gz rust-a2261ad66400c3145f96ebff0d9b75e910fa89dd.zip | |
Inline `mark_neighbours_as_waiting_from`.
This function is very hot, doesn't get inlined because it's recursive, and the function calls are significant. This commit splits it into inlined and uninlined variants, and uses the inlined variant for the hot call site. This wins several percent on a few benchmarks.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
