coverage: Memoize newly-created counter expressions
This currently has no effect, but is expected to be useful when expanding support for branch coverage and MC/DC coverage.
This commit is contained in:
parent
1a3a54c513
commit
a68bb5e176
2 changed files with 23 additions and 5 deletions
|
@ -187,8 +187,8 @@ impl Debug for CodeRegion {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, PartialEq, TyEncodable, TyDecodable, Hash, HashStable)]
|
||||
#[derive(TypeFoldable, TypeVisitable)]
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, HashStable)]
|
||||
#[derive(TyEncodable, TyDecodable, TypeFoldable, TypeVisitable)]
|
||||
pub enum Op {
|
||||
Subtract,
|
||||
Add,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue