Use Terminator::edges for backward analysis too.
This commit is contained in:
parent
94c5ea350f
commit
f5e4eb91b7
@ -292,7 +292,7 @@ impl<'a, 'tcx> Analysis<'tcx> for MaybeTransitiveLiveLocals<'a> {
|
||||
location: Location,
|
||||
) -> TerminatorEdges<'mir, 'tcx> {
|
||||
TransferFunction(trans).visit_terminator(terminator, location);
|
||||
TerminatorEdges::None
|
||||
terminator.edges()
|
||||
}
|
||||
|
||||
fn apply_call_return_effect(
|
||||
|
Loading…
x
Reference in New Issue
Block a user