coverage: Remove code for making expression copies of BCB counters

Now that coverage statements can have multiple code regions attached to them,
this code is never used.
This commit is contained in:
Zalathar 2023-08-27 20:21:35 +10:00
parent 86a66c8171
commit b1cf0c8f1b
2 changed files with 2 additions and 14 deletions

View file

@ -111,10 +111,6 @@ impl CoverageCounters {
BcbCounter::Expression { id, lhs, op, rhs }
}
pub fn make_identity_counter(&mut self, counter_operand: Operand) -> BcbCounter {
self.make_expression(counter_operand, Op::Add, Operand::Zero)
}
/// Counter IDs start from one and go up.
fn next_counter(&mut self) -> CounterId {
let next = self.next_counter_id;