diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-10-06 22:46:04 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2023-10-22 20:11:48 +1100 |
| commit | 86b55cccffa6f8c49747335a43abb04376d1e06f (patch) | |
| tree | da145892daaddacd5b9c7022c8a7f1756ca214b9 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 371883a05acf04be9fb8d3c0766990ba56cd22e3 (diff) | |
| download | rust-86b55cccffa6f8c49747335a43abb04376d1e06f.tar.gz rust-86b55cccffa6f8c49747335a43abb04376d1e06f.zip | |
coverage: Fetch expressions and mappings separately
The combined `get_expressions_and_counter_regions` method was an artifact of having to prepare the expressions and mappings at the same time, to avoid ownership/lifetime problems with temporary data used by both. Now that we have an explicit transition from `FunctionCoverageCollector` to the final `FunctionCoverage`, we can prepare any shared data during that step and store it in the final struct.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
