diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-08-14 12:16:29 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2023-08-20 12:02:40 +1000 |
| commit | 72f4c78dc6d5fc4a09d946f979ccfbf3fa763585 (patch) | |
| tree | e65809e1dd6aaa41a93e0976838f41bdc438f29e /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | fbab055e7704a1cd321628a1896333e0c13ebc2f (diff) | |
| download | rust-72f4c78dc6d5fc4a09d946f979ccfbf3fa763585.tar.gz rust-72f4c78dc6d5fc4a09d946f979ccfbf3fa763585.zip | |
coverage: Don't store `function_source_hash` in `BcbCounter::Counter`
This shows one small benefit of separating `BcbCounter` from `CoverageKind`. The function source hash will be the same for all counters within a function, so instead of passing it through `CoverageCounters` and storing it in every counter, we can just supply it during the final conversion to `CoverageKind`.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
