| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-02-20 | Access the session directly from DepContext. | Camille GILLOT | -8/+7 | |
| 2021-02-19 | Split DepKindStruct in two. | Camille GILLOT | -101/+8 | |
| 2021-02-19 | Use QueryCtxt in DepKindStruct. | Camille GILLOT | -9/+4 | |
| 2021-02-19 | Use a QueryContext for try_mark_green. | Camille GILLOT | -96/+1 | |
| 2021-02-19 | Move try_load_from_on_disk_cache to the QueryContext. | Camille GILLOT | -9/+4 | |
| 2021-02-19 | Make QueryEngine opaque to TyCtxt. | Camille GILLOT | -2/+3 | |
| 2021-02-19 | Wrap TyCtxt inside a QueryCtxt for queries. | Camille GILLOT | -2/+3 | |
| 2021-02-19 | Decouple the on-disk cache from the query engine. | Camille GILLOT | -10/+6 | |
| 2021-02-19 | Don't require a QueryContext to access the DepGraph. | Camille GILLOT | -0/+5 | |
| 2021-01-22 | Edit rustc_middle::dep_graph module documentation | pierwill | -7/+10 | |
| Co-authored-by: Joshua Nelson <joshua@yottadb.com> Co-authored-by: Camelid <camelidcamel@gmail.com> | ||||
| 2021-01-15 | Auto merge of #80602 - tgnottingham:cratemetadata_you_aint_special, ↵ | bors | -27/+2 | |
| r=michaelwoerister Remove DepKind::CrateMetadata and pre-allocation of DepNodes Remove much of the special-case handling around crate metadata dependency tracking by replacing `DepKind::CrateMetadata` and the pre-allocation of corresponding `DepNodes` with on-demand invocation of the `crate_hash` query. | ||||
| 2021-01-12 | Remove DepKind::CrateMetadata and pre-allocation of DepNodes | Tyson Nottingham | -27/+2 | |
| Remove much of the special-case handling around crate metadata dependency tracking by replacing `DepKind::CrateMetadata` and the pre-allocation of corresponding `DepNodes` with on-demand invocation of the `crate_hash` query. | ||||
| 2021-01-08 | Get rid of `DepConstructor` | Joshua Nelson | -33/+15 | |
| This removes fully 235 unused functions. | ||||
| 2021-01-08 | Check is_anon outside of can_reconstruct_query_key. | Camille GILLOT | -2/+9 | |
| 2021-01-08 | Make DepConstructor a module. | Camille GILLOT | -7/+7 | |
| 2021-01-08 | Make force_from_dep_node a function pointer. | Camille GILLOT | -3/+89 | |
| 2021-01-08 | Make try_load_from_on_disk_cache a function pointer. | Camille GILLOT | -3/+31 | |
| 2021-01-08 | Make can_reconstruct_query_key a function pointer. | Camille GILLOT | -35/+61 | |
| 2021-01-08 | Use a field for has_params. | Camille GILLOT | -25/+17 | |
| 2021-01-08 | Use a field for is_eval_always. | Camille GILLOT | -13/+14 | |
| 2021-01-08 | Use a field for is_anon. | Camille GILLOT | -18/+18 | |
| 2021-01-08 | Use a side-table of consts instead of matching on the DepKind enum. | Camille GILLOT | -1/+47 | |
| 2021-01-08 | Simplify DepNodeParams. | Camille GILLOT | -5/+20 | |
| 2021-01-08 | Move DepNodeExt outside of the macro. | Camille GILLOT | -95/+91 | |
| 2020-12-18 | rustc_query_system: explicitly register reused dep nodes | Tyson 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-10 | Use `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-25 | Fix rebase fallout | Aaron Hill | -4/+7 | |
| 2020-11-25 | Lazy DefPath decoding for incremental compilation | Aaron Hill | -5/+17 | |
| 2020-11-25 | Auto merge of #79216 - Aaron1011:opt-on-disk-cache, r=pnkfelix | bors | -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-19 | Only create `OnDiskCache` in incremental compilation mode | Aaron Hill | -3/+11 | |
| This lets us skip doing useless work when we're not in incremental compilation mode. | ||||
| 2020-11-18 | Make PackedFingerprint's Fingerprint private | Tyson Nottingham | -3/+3 | |
| 2020-11-18 | Use PackedFingerprint in DepNode to reduce memory consumption | Tyson Nottingham | -3/+12 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+597 | |
