diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-10-27 20:06:48 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-10-27 20:15:00 -0700 |
| commit | eb713d272c3f5b53f8bc98775b927d7658ec40b2 (patch) | |
| tree | 6b13e48f15c2019031a35717195f98f0f14e82c0 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 4e0d3973fafdfb1c51011bc74e44257b5e3863f1 (diff) | |
| download | rust-eb713d272c3f5b53f8bc98775b927d7658ec40b2.tar.gz rust-eb713d272c3f5b53f8bc98775b927d7658ec40b2.zip | |
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
