about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-29 01:50:08 +0000
committerbors <bors@rust-lang.org>2021-10-29 01:50:08 +0000
commita9f664f37d62fd255827a416482186308b8e8f7d (patch)
tree02feb5691c6a89ddc70454cf5a308a8611bee7f6 /compiler/rustc_mir_transform/src/coverage/mod.rs
parentdf76418f1ee1a1973e862828ae8520abb6c3794a (diff)
parenteb713d272c3f5b53f8bc98775b927d7658ec40b2 (diff)
downloadrust-a9f664f37d62fd255827a416482186308b8e8f7d.tar.gz
rust-a9f664f37d62fd255827a416482186308b8e8f7d.zip
Auto merge of #90363 - camelid:build-impl-perf, r=jyn514
Improve perf measurements of `build_extern_trait_impl`

Before, it was only measuring one callsite of `build_impl`, and it
incremented the call count even if `build_impl` returned early because
the `did` was already inlined.

Now, it measures all calls, minus calls that return early.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions