1
Fork 0

coverage: Replace max_decision_depth with num_condition_bitmaps

This clearly distinguishes individual decision-depth indices from the total
number of condition bitmaps to allocate.
This commit is contained in:
Zalathar 2024-04-30 17:54:06 +10:00
parent 0b3a47900e
commit de972b7321
3 changed files with 5 additions and 5 deletions

View file

@ -277,7 +277,7 @@ pub struct FunctionCoverageInfo {
pub mappings: Vec<Mapping>,
/// The depth of the deepest decision is used to know how many
/// temp condbitmaps should be allocated for the function.
pub mcdc_max_decision_depth: u16,
pub mcdc_num_condition_bitmaps: usize,
}
/// Branch information recorded during THIR-to-MIR lowering, and stored in MIR.