diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-10-11 17:40:37 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2023-10-12 21:41:13 +1100 |
| commit | 15360b3bc8f75c33af8a41da5dc9a1cab19691ba (patch) | |
| tree | 8a071cd7535ad99c7b12b2444df8c06e85338635 /compiler/rustc_mir_transform/src/inline.rs | |
| parent | ea3fb7bc2cd64fc124209e6f4ffcda8d053fd7ae (diff) | |
| download | rust-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
