summary refs log tree commit diff
path: root/compiler/rustc_middle/src/dep_graph
AgeCommit message (Collapse)AuthorLines
2020-12-18rustc_query_system: explicitly register reused dep nodesTyson Nottingham-3/+3
Register nodes that we've reused from the previous session explicitly with `OnDiskCache`. Previously, we relied on this happening as a side effect of accessing the nodes in the `PreviousDepGraph`. For the sake of performance and avoiding unintended side effects, register explictily.
2020-12-10Use `def_path_hash_to_def_id` when re-using a `RawDefId`Aaron Hill-1/+1
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-11-25Fix rebase falloutAaron Hill-4/+7
2020-11-25Lazy DefPath decoding for incremental compilationAaron Hill-5/+17
2020-11-25Auto merge of #79216 - Aaron1011:opt-on-disk-cache, r=pnkfelixbors-3/+11
Only create `OnDiskCache` in incremental compilation mode This lets us skip doing useless work when we're not in incremental compilation mode.
2020-11-19Only create `OnDiskCache` in incremental compilation modeAaron Hill-3/+11
This lets us skip doing useless work when we're not in incremental compilation mode.
2020-11-18Make PackedFingerprint's Fingerprint privateTyson Nottingham-3/+3
2020-11-18Use PackedFingerprint in DepNode to reduce memory consumptionTyson Nottingham-3/+12
2020-08-30mv compiler to compiler/mark-0/+597