Commit Graph

5 Commits

Author SHA1 Message Date
Aaron Hill
3918b82993 Use def_path_hash_to_def_id when re-using a RawDefId
Fixes #79890

Previously, we just copied a `RawDefId` from the 'old' map to the 'new'
map. However, the `RawDefId` for a given `DefPathHash` may be different
in the current compilation session. Using `def_path_hash_to_def_id`
ensures that the `RawDefId` we use is valid in the current session.
2020-12-10 16:04:19 -05:00
Aaron Hill
7a9aa4f980 Fix rebase fallout 2020-11-25 15:08:51 -05:00
Aaron Hill
e935d3832c Lazy DefPath decoding for incremental compilation 2020-11-25 14:49:15 -05:00
Aaron Hill
d00ed01876 Only create OnDiskCache in incremental compilation mode
This lets us skip doing useless work when we're not in incremental
compilation mode.
2020-11-19 15:50:55 -05:00
mark
9e5f7d5631 mv compiler to compiler/ 2020-08-30 18:45:07 +03:00