Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b6d39de

Browse files
committed
Add some rmeta instrumentation
1 parent def2d15 commit b6d39de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_metadata/src/rmeta/encoder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
599599
macro_rules! stat {
600600
($label:literal, $f:expr) => {{
601601
let orig_pos = self.position();
602+
$label.encode(&mut self.opaque);
602603
let res = $f();
603604
stats.push(($label, self.position() - orig_pos));
604605
res

0 commit comments

Comments
 (0)