about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-25 00:53:28 +0000
committerbors <bors@rust-lang.org>2019-04-25 00:53:28 +0000
commit3d211248393686e0f73851fc7548f6605220fbe1 (patch)
tree3c84f4b67b3f51e8f17e0aafdcc77cdb6ed9775a /src/test/incremental/thinlto
parente305df1846a6d985315917ae0c81b74af8b4e641 (diff)
parent37954df1a71b204174719f28c59be8b38fd439f0 (diff)
downloadrust-3d211248393686e0f73851fc7548f6605220fbe1.tar.gz
rust-3d211248393686e0f73851fc7548f6605220fbe1.zip
Auto merge of #59042 - ljedrz:HirIdification_rework_map, r=Zoxc
HirIdification: rework Map

The next iteration of HirIdification (#57578).

- remove `NodeId` from `Entry`
- change `Map::map` to an `FxHashMap<HirId, Entry>`
- base the `NodeId` `Map` methods on `HirId` ones (reverses the current state)
- HirIdify `librustdoc` a little bit (some `NodeId` `Map` methods were converted to work on `HirId`s)

The second change might have performance implications, so I'd do a perf run to be sure it's fine; it simplifies the codebase and shouldn't have an impact as long as the `Map` searches are cached (which is now possible thanks to using `HirId`s).

r? @Zoxc
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions