Use Terminator::edges for backward analysis too.
This commit is contained in:
parent
94c5ea350f
commit
f5e4eb91b7
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ impl<'a, 'tcx> Analysis<'tcx> for MaybeTransitiveLiveLocals<'a> {
|
||||||
location: Location,
|
location: Location,
|
||||||
) -> TerminatorEdges<'mir, 'tcx> {
|
) -> TerminatorEdges<'mir, 'tcx> {
|
||||||
TransferFunction(trans).visit_terminator(terminator, location);
|
TransferFunction(trans).visit_terminator(terminator, location);
|
||||||
TerminatorEdges::None
|
terminator.edges()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn apply_call_return_effect(
|
fn apply_call_return_effect(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue