rust/tests/mir-opt/instrument_coverage.bar.InstrumentCoverage.diff

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
331 B
Diff
Raw Normal View History

- // MIR for `bar` before InstrumentCoverage
+ // MIR for `bar` after InstrumentCoverage
fn bar() -> bool {
2023-06-06 08:47:00 -05:00
let mut _0: bool;
+ coverage Counter(0) => /the/src/instrument_coverage.rs:21:1 - 23:2;
+
bb0: {
+ Coverage::CounterIncrement(0);
2023-06-06 08:47:00 -05:00
_0 = const true;
return;
}
}