Implement apply_switch_int_edge_effects for backward analyses

This commit is contained in:
Samuel E. Moelius III
2022-03-19 12:04:59 -04:00
parent 9c7f6d60b1
commit ee7413b94c
3 changed files with 56 additions and 8 deletions

View File

@@ -234,8 +234,6 @@ pub trait Analysis<'tcx>: AnalysisDomain<'tcx> {
/// about a given `SwitchInt` terminator for each one of its edges—and more efficient—the
/// engine doesn't need to clone the exit state for a block unless
/// `SwitchIntEdgeEffects::apply` is actually called.
///
/// FIXME: This class of effects is not supported for backward dataflow analyses.
fn apply_switch_int_edge_effects(
&self,
_block: BasicBlock,