about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-09-13 10:46:05 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2019-09-13 13:46:23 +1000
commita2261ad66400c3145f96ebff0d9b75e910fa89dd (patch)
tree2593d02088380d3f5c745e6495596383183e1214 /src/test/debuginfo/enum-thinlto.rs
parent2b8116dced2c6c5d02e1c4359e89dc0919d6001b (diff)
downloadrust-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