about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/inline.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-10-11 17:40:37 +1100
committerZalathar <Zalathar@users.noreply.github.com>2023-10-12 21:41:13 +1100
commit15360b3bc8f75c33af8a41da5dc9a1cab19691ba (patch)
tree8a071cd7535ad99c7b12b2444df8c06e85338635 /compiler/rustc_mir_transform/src/inline.rs
parentea3fb7bc2cd64fc124209e6f4ffcda8d053fd7ae (diff)
downloadrust-15360b3bc8f75c33af8a41da5dc9a1cab19691ba.tar.gz
rust-15360b3bc8f75c33af8a41da5dc9a1cab19691ba.zip
coverage: Store a graph reference in the graph traversal struct
Having to keep passing in a graph reference was a holdover from when the graph
was partly mutated during traversal. As of #114354 that is no longer necessary,
so we can simplify the traversal code by storing a graph reference as a field
in `TraverseCoverageGraphWithLoops`.
Diffstat (limited to 'compiler/rustc_mir_transform/src/inline.rs')
0 files changed, 0 insertions, 0 deletions