coverage: CoverageIdsInfo::mcdc_bitmap_bytes
is never needed
This code for recalculating `mcdc_bitmap_bytes` doesn't provide any benefit, because its result won't have changed from the value in `FunctionCoverageInfo` that was computed during the MIR instrumentation pass.
This commit is contained in:
parent
fba5f44bd8
commit
bfadc3a9b9
3 changed files with 2 additions and 21 deletions
|
@ -362,8 +362,4 @@ pub struct CoverageIdsInfo {
|
|||
/// InstrumentCoverage MIR pass, if the highest-numbered counter increments
|
||||
/// were removed by MIR optimizations.
|
||||
pub max_counter_id: mir::coverage::CounterId,
|
||||
|
||||
/// Coverage codegen for mcdc needs to know the size of the global bitmap so that it can
|
||||
/// set the `bytemap-bytes` argument of the `llvm.instrprof.mcdc.tvbitmap.update` intrinsic.
|
||||
pub mcdc_bitmap_bytes: u32,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue