diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-06-01 13:25:26 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-06-02 13:07:30 +1000 |
| commit | f1fe797ee2b4f1e9d47eb468212b742960dafb87 (patch) | |
| tree | 1aea600a11913ca11b18653cd91b1d40316f8371 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 5b0c56b333a9ebf87ce183327f84d8a76c5a8524 (diff) | |
| download | rust-f1fe797ee2b4f1e9d47eb468212b742960dafb87.tar.gz rust-f1fe797ee2b4f1e9d47eb468212b742960dafb87.zip | |
Change representation of `UsageMap::used_map`.
It currently uses ranges, which index into `UsageMap::used_items`. This commit changes it to just use `Vec`, which is much simpler to construct and use. This change does result in more allocations, but it is few enough that the perf impact is negligible.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
