mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Use Terminator::edges for backward analysis too.
This commit is contained in:
@@ -292,7 +292,7 @@ fn apply_terminator_effect<'mir>(
|
||||
location: Location,
|
||||
) -> TerminatorEdges<'mir, 'tcx> {
|
||||
TransferFunction(trans).visit_terminator(terminator, location);
|
||||
TerminatorEdges::None
|
||||
terminator.edges()
|
||||
}
|
||||
|
||||
fn apply_call_return_effect(
|
||||
|
||||
Reference in New Issue
Block a user