about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-06-01 13:25:26 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-06-02 13:07:30 +1000
commitf1fe797ee2b4f1e9d47eb468212b742960dafb87 (patch)
tree1aea600a11913ca11b18653cd91b1d40316f8371 /compiler/rustc_codegen_llvm/src/errors.rs
parent5b0c56b333a9ebf87ce183327f84d8a76c5a8524 (diff)
downloadrust-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