about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-02 22:16:22 +0000
committerbors <bors@rust-lang.org>2020-09-02 22:16:22 +0000
commit51f79b618d41b8319134827d92ccc674dab4aa32 (patch)
tree074d8426365c0f20fbe974d45298f52f5e68e3f0 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent80fc9b0ecb29050d45b17c64af004200afd3cfc2 (diff)
parent469ca379d6dc0ade5ee08f14892c1549bb383e77 (diff)
downloadrust-51f79b618d41b8319134827d92ccc674dab4aa32.tar.gz
rust-51f79b618d41b8319134827d92ccc674dab4aa32.zip
Auto merge of #76233 - cuviper:unhasher, r=Mark-Simulacrum
Avoid rehashing Fingerprint as a map key

This introduces a no-op `Unhasher` for map keys that are already hash-
like, for example `Fingerprint` and its wrapper `DefPathHash`. For these
we can directly produce the `u64` hash for maps. The first use of this
is `def_path_hash_to_def_id: Option<UnhashMap<DefPathHash, DefId>>`.

cc #56308
r? @eddyb
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions