about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-12-30 17:59:39 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-01-14 12:11:25 +1100
commit6d1c396399be9dc7a31cc023513e103848a96506 (patch)
tree19ab4e5195e34fe4b8bcf169e3effb6c2508fbc1 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent3deb9bbf84f6431ebcbb7cbdbe3d89bc2636bc1b (diff)
downloadrust-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_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions