| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-23 | Move dep_graph to new crate librustc_query_system. | Camille GILLOT | -1196/+0 | |
| 2020-03-23 | Rollup merge of #70269 - matthiaskrgr:clippy_closures, r=Dylan-DPC | Mazdak Farrokhzad | -1/+1 | |
| remove redundant closures (clippy::redundant_closure) | ||||
| 2020-03-22 | Auto merge of #69778 - Marwes:dep_graph, r=davidtwco | bors | -11/+24 | |
| perf(dep_graph): Avoid allocating a set on when the number reads are … …small `reserve_and_rehash` takes up 1.4% of the runtime on the `packed-simd` benchmark which I believe is due to the number of reads are very low in many cases (see https://github.com/rust-lang/rust/pull/50565 for instance). This avoids allocating the set until we start allocating the `reads` `SmallVec` but it is possible that a lower limit might be better (not tested since the improvement will be hard to spot either way). | ||||
| 2020-03-22 | remove redundant closures (clippy::redundant_closure) | Matthias Krüger | -1/+1 | |
| 2020-03-19 | hir: replace "items" terminology with "nodes" where appropriate. | Eduard-Mihai Burtescu | -1/+1 | |
| 2020-03-19 | rustc: use LocalDefId instead of DefIndex in HirId. | Eduard-Mihai Burtescu | -1/+1 | |
| 2020-03-14 | Reintroduce workaround for #62649 | John Kåre Alsaker | -8/+15 | |
| 2020-03-14 | Remove `input_task` | John Kåre Alsaker | -22/+0 | |
| 2020-03-14 | Remove `Hir` and `HirBody` dep nodes | John Kåre Alsaker | -1/+1 | |
| 2020-03-12 | Rollup merge of #69747 - spastorino:rename-rustc-guide, r=pietroalbini | Mazdak Farrokhzad | -2/+2 | |
| Rename rustc guide This is in preparation for https://github.com/rust-lang/rustc-guide/issues/470 Needs to be merged after we actually rename the guide. Have used this to rename: `git grep -l 'rustc_guide' | xargs sed -i 's/rustc_guide/rustc_dev_guide/g'` `git grep -l 'rustc-guide' | xargs sed -i 's/rustc-guide/rustc-dev-guide/g'` `git grep -l 'rustc guide' | xargs sed -i 's/rustc guide/rustc dev guide/g'` | ||||
| 2020-03-10 | rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org | Santiago Pastorino | -1/+1 | |
| 2020-03-10 | Rename rustc guide to rustc dev guide | Santiago Pastorino | -2/+2 | |
| 2020-03-10 | Rename rustc-guide to rustc-dev-guide | Santiago Pastorino | -1/+1 | |
| 2020-03-07 | refactor: Add an alias for the SmallVec in dep_graph | Markus Westerlind | -10/+8 | |
| 2020-03-06 | perf(dep_graph): Avoid allocating a set on when the number reads are small | Markus Westerlind | -2/+17 | |
| `reserve_and_rehash` takes up 1.4% of the runtime on the `packed-simd` benchmark which I believe is due to the number of reads are very low in many cases (see https://github.com/rust-lang/rust/pull/50565 for instance). This avoids allocating the set until we start allocating the `reads` `SmallVec` but it is possible that a lower limit might be better (not tested since the improvement will be hard to spot either way). | ||||
| 2020-03-04 | cover some more nearby cases | Ralf Jung | -1/+1 | |
| 2020-02-28 | use is_empty() instead of len() == x to determine if structs are empty. | Matthias Krüger | -1/+1 | |
| 2020-02-19 | Tune inlining | John Kåre Alsaker | -1/+1 | |
| 2020-02-19 | Split query execution into hot and cold paths | John Kåre Alsaker | -0/+1 | |
| 2020-01-27 | Collisions in the dep-graph due to path-reuse are rare but can occur. | Felix S. Klock II | -9/+30 | |
| So, instead of ICE'ing, just fail to mark green in such cases (for `DepKind::{Hir, HirBody, CrateMetadata}`). Fix #62649. | ||||
| 2020-01-11 | Rollup merge of #68050 - Centril:canon-error, r=Mark-Simulacrum | Yuki Okushi | -1/+1 | |
| Canonicalize rustc_error imports r? @Mark-Simulacrum | ||||
| 2020-01-10 | Run 'x.py fmt'. | Michael Woerister | -8/+4 | |
| 2020-01-10 | Initial support for recording query keys in self-profiling data. | Michael Woerister | -1/+1 | |
| 2020-01-10 | Use 'relaxed' memory ordering for simple atomic counters in dep-graph. | Michael Woerister | -4/+4 | |
| 2020-01-10 | self-profile: Switch to new approach for event_id generation that enables ↵ | Michael Woerister | -3/+27 | |
| query-invocation-specific event_ids. | ||||
| 2020-01-10 | nix syntax::errors & prefer rustc_errors over errors | Mazdak Farrokhzad | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -214/+207 | |
| 2019-12-17 | Revert "Auto merge of #67362 - Mark-Simulacrum:par-4-default, r=alexcrichton" | Mark Rousskov | -7/+7 | |
| This reverts commit 3ed3b8bb7b100afecf7d5f52eafbb70fec27f537, reversing changes made to 99b89533d4cdf7682ea4054ad0ee36c351d05df1. We will reland a similar patch at a future date but for now we should get a nightly released in a few hours with the parallel patch, so this should be reverted to make sure that the next nightly is not parallel-enabled. | ||||
| 2019-12-17 | Move AtomicU64 usage to AtomicUsize | Mark Rousskov | -7/+7 | |
| 2019-12-06 | Make try_mark_previous_green aware of cycles. | Alex Aktsipetrov | -5/+16 | |
| 2019-10-21 | Remove many unnecessary trait derivations. | Nicholas Nethercote | -1/+1 | |
| 2019-10-17 | Use a sharded dep node to dep node index map | John Kåre Alsaker | -8/+21 | |
| 2019-10-14 | Use more fine grained locks for the dep graph | John Kåre Alsaker | -60/+72 | |
| 2019-10-14 | Auto merge of #65240 - michaelwoerister:sp-review-3, r=Mark-Simulacrum | bors | -1/+1 | |
| self-profiling: Add events for metadata loading (plus a small dep-tracking optimization) This PR - adds self-profiling events related to loading things from crate metadata - makes the compiler cache the `DepNodeIndex` of upstream crates, so that they don't have to be looked up over and over. The commits are best reviewed in isolation. Self-profiling tracking issue: https://github.com/rust-lang/rust/issues/58967 r? @Mark-Simulacrum cc @wesleywiser | ||||
| 2019-10-09 | Cache the DepNodeIndex of upstream crates in order to avoid multiple locks ↵ | Michael Woerister | -1/+1 | |
| and table lookups on each access of crate metadata. | ||||
| 2019-10-09 | self-profiling: Add events for everything except trait selection. | Michael Woerister | -0/+2 | |
| 2019-10-08 | Rollup merge of #65081 - Mark-Simulacrum:remove-profile-queries, ↵ | Mazdak Farrokhzad | -9/+0 | |
| r=michaelwoerister Remove -Zprofile-queries r? @michaelwoerister Per [zulip thread](https://zulip-archive.rust-lang.org/131828tcompiler/57361RemoveZprofilequeries.html). | ||||
| 2019-10-06 | Remove loaded_from_cache map from DepGraph | Mark Rousskov | -23/+0 | |
| It's now unused, even with -Zquery-dep-graph | ||||
| 2019-10-03 | Remove -Zprofile-queries | Mark Rousskov | -9/+0 | |
| 2019-09-29 | remove indexed_vec re-export from rustc_data_structures | csmoe | -2/+2 | |
| 2019-09-27 | Remove global_tcx from TyCtxt | Mark Rousskov | -1/+1 | |
| The non-global context was removed; there's only one context now. This is a noop method that only serves to confuse readers -- remove it. | ||||
| 2019-09-17 | Privatize DiagnosticBuilder constructors | Mark Rousskov | -2/+2 | |
| 2019-07-11 | Refactor diagnostic emission for green nodes | John Kåre Alsaker | -35/+51 | |
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -1/+1 | |
| 2019-06-30 | Clean up query cache code | John Kåre Alsaker | -24/+13 | |
| 2019-06-14 | Unify all uses of 'gcx and 'tcx. | Eduard-Mihai Burtescu | -5/+5 | |
| 2019-06-12 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -4/+3 | |
| 2019-06-12 | rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -5/+5 | |
| 2019-06-12 | Fix fallout from `deny(unused_lifetimes)`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-06-12 | rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -3/+3 | |
