about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-10-22 13:31:54 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-10-22 20:44:09 +1100
commit7f4dd9bb815182a1b60242d82890f9b0b3273c4b (patch)
treef71c4230158ab2a2001ee0dff4bef4035de657d1 /compiler/rustc_mir_transform/src/coverage/mod.rs
parentf2257130074b0f3ee958ae48d6ed85648c365e92 (diff)
downloadrust-7f4dd9bb815182a1b60242d82890f9b0b3273c4b.tar.gz
rust-7f4dd9bb815182a1b60242d82890f9b0b3273c4b.zip
Move `cmp_in_dominator_order` out of graph dominator computation
Dominator-order information is only needed for coverage graphs, and is easy
enough to collect by just traversing the graph again.

This avoids wasted work when computing graph dominators for any other purpose.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions