diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-12-30 17:59:39 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-01-14 12:11:25 +1100 |
| commit | 6d1c396399be9dc7a31cc023513e103848a96506 (patch) | |
| tree | 19ab4e5195e34fe4b8bcf169e3effb6c2508fbc1 /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | 3deb9bbf84f6431ebcbb7cbdbe3d89bc2636bc1b (diff) | |
| download | rust-6d1c396399be9dc7a31cc023513e103848a96506.tar.gz rust-6d1c396399be9dc7a31cc023513e103848a96506.zip | |
coverage: Determine a block's successors from just the terminator
Filtering out unreachable successors is only needed by the main graph traversal loop, so we can move the filtering step into that loop instead, eliminating the need to pass the MIR body into `bcb_filtered_successors`.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
