diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-09-25 03:27:25 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-09-25 22:54:07 +0200 |
| commit | 2c507cae363a71f16069bbf602aa50e00f3ceec4 (patch) | |
| tree | eaca48d6359d6ed0547520221155d1b80c7e1a4e /compiler/rustc_data_structures/src/profiling.rs | |
| parent | 91958e0a7417727a8b65c7f2c163677a8d4ec75d (diff) | |
| download | rust-2c507cae363a71f16069bbf602aa50e00f3ceec4.tar.gz rust-2c507cae363a71f16069bbf602aa50e00f3ceec4.zip | |
Rename `cold_path` to `outline`
Diffstat (limited to 'compiler/rustc_data_structures/src/profiling.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/profiling.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/profiling.rs b/compiler/rustc_data_structures/src/profiling.rs index 3c76c2b7991..e688feb5fe1 100644 --- a/compiler/rustc_data_structures/src/profiling.rs +++ b/compiler/rustc_data_structures/src/profiling.rs @@ -81,8 +81,8 @@ //! //! [mm]: https://github.com/rust-lang/measureme/ -use crate::cold_path; use crate::fx::FxHashMap; +use crate::outline; use std::borrow::Borrow; use std::collections::hash_map::Entry; @@ -697,7 +697,7 @@ impl<'a> TimingGuard<'a> { #[inline] pub fn finish_with_query_invocation_id(self, query_invocation_id: QueryInvocationId) { if let Some(guard) = self.0 { - cold_path(|| { + outline(|| { let event_id = StringId::new_virtual(query_invocation_id.0); let event_id = EventId::from_virtual(event_id); guard.finish_with_override_event_id(event_id); |
