about summary refs log tree commit diff
path: root/src/librustc/dep_graph
AgeCommit message (Collapse)AuthorLines
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-599/+0
2020-03-27Implement HashStable directly.Camille GILLOT-2/+0
2020-03-27Cleanups.Camille GILLOT-5/+5
2020-03-26Retire DepGraphSafe and HashStableContext.Camille GILLOT-26/+0
2020-03-26Rustfmt.Camille GILLOT-1/+5
2020-03-26Generalise Query starting.Camille GILLOT-0/+4
2020-03-26Decouple from DepKind.Camille GILLOT-0/+6
2020-03-25Rollup merge of #70319 - lcnr:issue63695, r=eddybDylan DPC-1/+1
correctly normalize constants closes #70317 implements https://github.com/rust-lang/rust/issues/70125#issuecomment-602133708 r? eddyb cc @varkor
2020-03-24normalize some imports, prefer direct ones.Mazdak Farrokhzad-2/+2
2020-03-23Move import.Camille GILLOT-1/+1
2020-03-23Address review.Camille GILLOT-11/+9
2020-03-23Put extract_def_id back on DepNode.Camille GILLOT-25/+26
2020-03-23Remove assert_ignored and with_ignore_deps.Camille GILLOT-18/+0
2020-03-23Merge ensure_node_can_be_forced into force_from_dep_node.Camille GILLOT-8/+6
2020-03-23Fallout in other crates.Camille GILLOT-152/+277
2020-03-23Move dep_graph to new crate librustc_query_system.Camille GILLOT-1495/+0
2020-03-23query normalize_generic_arg_after_erasing_regionsBastian Kauschke-1/+1
2020-03-23Split long derive lists into two derive attributes.Ana-Maria Mihalache-13/+2
2020-03-23Rollup merge of #70269 - matthiaskrgr:clippy_closures, r=Dylan-DPCMazdak Farrokhzad-1/+1
remove redundant closures (clippy::redundant_closure)
2020-03-22Auto merge of #69778 - Marwes:dep_graph, r=davidtwcobors-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-22remove redundant closures (clippy::redundant_closure)Matthias Krüger-1/+1
2020-03-19hir: replace "items" terminology with "nodes" where appropriate.Eduard-Mihai Burtescu-1/+1
2020-03-19rustc: use LocalDefId instead of DefIndex in HirId.Eduard-Mihai Burtescu-2/+2
2020-03-19rustc: rename DefId::to_local to expect_local and use it instead of ↵Eduard-Mihai Burtescu-1/+1
LocalDefId::from_def_id.
2020-03-19rustc: use LocalDefId instead of DefIndex for query keys.Eduard-Mihai Burtescu-5/+5
2020-03-14Reintroduce workaround for #62649John Kåre Alsaker-8/+15
2020-03-14Remove `input_task`John Kåre Alsaker-22/+0
2020-03-14Remove `Hir` and `HirBody` dep nodesJohn Kåre Alsaker-8/+1
2020-03-14Remove `AllLocalTraitImpls`John Kåre Alsaker-3/+1
2020-03-14Update `visit_item_likes_in_module`John Kåre Alsaker-9/+3
2020-03-14Rollup merge of #69809 - matthiaskrgr:lifetimes, r=eddybYuki Okushi-1/+1
remove lifetimes that can be elided (clippy::needless_lifetimes)
2020-03-12remove lifetimes that can be elided (clippy::needless_lifetimes)Matthias Krüger-1/+1
2020-03-12Rollup merge of #69747 - spastorino:rename-rustc-guide, r=pietroalbiniMazdak Farrokhzad-3/+3
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-10rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.orgSantiago Pastorino-2/+2
2020-03-10Rename rustc guide to rustc dev guideSantiago Pastorino-3/+3
2020-03-10Rename rustc-guide to rustc-dev-guideSantiago Pastorino-2/+2
2020-03-10Auto merge of #66364 - Centril:cleanup-macro-def, r=petrochenkov,eddybbors-0/+2
Cleanup `rmeta::MacroDef` Avoid using rountrip parsing in the encoder and in `fn load_macro_untracked`. The main reason I was interested in this was to remove `rustc_parse` as a dependency of `rustc_metadata` but it seems like this had other benefits as well. Fixes #49511. r? @eddyb cc @matthewjasper @estebank @petrochenkov
2020-03-10Store `TokenStream` in `rmeta::MacroDef`.Mazdak Farrokhzad-0/+2
This removes a hack from `load_macro_untracked` in which parsing is used.
2020-03-09Add a comment to `recover`.John Kåre Alsaker-0/+6
2020-03-09Remove the need for `no_force`John Kåre Alsaker-24/+21
2020-03-09Move `analysis` to the query macroJohn Kåre Alsaker-2/+0
2020-03-07refactor: Add an alias for the SmallVec in dep_graphMarkus Westerlind-10/+8
2020-03-06perf(dep_graph): Avoid allocating a set on when the number reads are smallMarkus 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-04cover some more nearby casesRalf Jung-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-1/+1
2020-02-19Use a constructor function per dep node instead of an enum and a single functionJohn Kåre Alsaker-50/+36
2020-02-19Remove support for dep node structsJohn Kåre Alsaker-41/+0
2020-02-19Tune inliningJohn Kåre Alsaker-1/+1
2020-02-19Add a `storage` query modifier to override the query cacheJohn Kåre Alsaker-6/+6