about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-06-01 13:00:06 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-06-02 13:07:30 +1000
commit5b0c56b333a9ebf87ce183327f84d8a76c5a8524 (patch)
tree35e8b84a5b331368c225f09e2ff5e2f01d635cd2 /compiler/rustc_codegen_llvm/src
parentde2911f45464d595a0fabeedd83338da819ade16 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions