minmax_bcbs_for_expn_tree_node in rustc_mir_transform::coverage::expansion - Rust
Description: For a single node in the expansion tree, compute its “minimum” and “maximum” BCBs (in dominator order), from among the BCBs of its immediate spans, and the min/max of its immediate children.

Skip to main content

## minmax_bcbs_for_expn_tree_node

# Function minmax_bcbs_for_expn_tree_node

Source

    fn minmax_bcbs_for_expn_tree_node(
        graph: &CoverageGraph,
        nodes: &FxIndexMap<ExpnId, ExpnNode>,
        node: &ExpnNode,
    ) -> Option<MinMaxBcbs>

Expand description

For a single node in the expansion tree, compute its “minimum” and “maximum” BCBs (in dominator order), from among the BCBs of its immediate spans, and the min/max of its immediate children.