(&mut self, id: &KId<M>)
| 920 | } |
| 921 | } |
| 922 | |
| 923 | /// Sharding profiler: mark `id` as the constant now being checked, so its |
| 924 | /// heartbeats and delta-unfold edges are attributed correctly. No-op unless a |
| 925 | /// `profile_sink` is installed. Called right after each per-constant `reset`. |
| 926 | #[inline] |
| 927 | pub(crate) fn begin_const(&mut self, id: &KId<M>) { |
| 928 | if self.env.profile_sink.is_some() { |
| 929 | self.cur_const = Some(id.addr.clone()); |
no test coverage detected