diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-06-01 13:00:06 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-06-02 13:07:30 +1000 |
| commit | 5b0c56b333a9ebf87ce183327f84d8a76c5a8524 (patch) | |
| tree | 35e8b84a5b331368c225f09e2ff5e2f01d635cd2 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | de2911f45464d595a0fabeedd83338da819ade16 (diff) | |
| download | rust-5b0c56b333a9ebf87ce183327f84d8a76c5a8524.tar.gz rust-5b0c56b333a9ebf87ce183327f84d8a76c5a8524.zip | |
Introduce `UsageMap::user_map`.
`UsageMap` contains `used_map`, which maps from an item to the item it uses. This commit add `user_map`, which is the inverse. We already compute this inverse, but later on, and it is only held as a local variable. Its simpler and nicer to put it next to `used_map`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
