coverage: Don't bother renumbering expressions on the Rust side
The LLVM API that we use to encode coverage mappings already has its own code for removing unused coverage expressions and renumbering the rest. This lets us get rid of our own complex renumbering code, making it easier to change our coverage code in other ways.
This commit is contained in:
parent
527c629cd9
commit
041a232b62
4 changed files with 64 additions and 167 deletions
|
@ -479,7 +479,6 @@ TrivialTypeTraversalImpls! {
|
|||
::rustc_target::asm::InlineAsmRegOrRegClass,
|
||||
crate::mir::coverage::CounterId,
|
||||
crate::mir::coverage::ExpressionId,
|
||||
crate::mir::coverage::MappedExpressionIndex,
|
||||
crate::mir::Local,
|
||||
crate::mir::Promoted,
|
||||
crate::traits::Reveal,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue