Commit graph

23 commits

Author SHA1 Message Date
Camille GILLOT
db5be1fe20 Move QueryContext to the parent module. 2020-03-27 07:43:11 +01:00
Camille GILLOT
4faf701d20 Remove the QueryGetter trait. 2020-03-27 07:35:32 +01:00
Camille GILLOT
260cfaba12 Don't allow access to the Session. 2020-03-26 09:40:52 +01:00
Camille GILLOT
d224e214e0 Rename read_query_job -> current_query_job and simplify it. 2020-03-26 09:40:52 +01:00
Camille GILLOT
fce0d37619 Add comment. 2020-03-26 09:40:52 +01:00
Camille GILLOT
5dfed41812 Simplify generics on try_start. 2020-03-26 09:40:51 +01:00
Camille GILLOT
fa06cfd25b Move generics on QueryCache. 2020-03-26 09:40:51 +01:00
Camille GILLOT
0e8b59a2f4 Prune dependencies. 2020-03-26 09:40:51 +01:00
Camille GILLOT
b6033fca02 Retire DepGraphSafe and HashStableContext. 2020-03-26 09:40:51 +01:00
Camille GILLOT
228ca8ef0a Access QueryStateShard directly. 2020-03-26 09:40:50 +01:00
Camille GILLOT
d305b2ccc6 Unify key types in get_lookup. 2020-03-26 09:40:50 +01:00
Camille GILLOT
301ad11e9b Rustfmt. 2020-03-26 09:40:50 +01:00
Camille GILLOT
8e873c3c64 Make librustc_query_system compile. 2020-03-26 09:25:35 +01:00
Camille GILLOT
5b8dac3c39 Move query system to librustc_query_system. 2020-03-26 09:22:46 +01:00
Camille GILLOT
27e8a95717 Generalise Query starting. 2020-03-26 09:22:46 +01:00
Camille GILLOT
a51ad889dd Decouple from DepKind. 2020-03-26 09:22:45 +01:00
Camille GILLOT
e0f7b897ba Address review. 2020-03-23 23:17:17 +01:00
Camille GILLOT
d08cc0ba67 Put extract_def_id back on DepNode. 2020-03-23 23:16:35 +01:00
Camille GILLOT
3a8bb20230 Remove assert_ignored and with_ignore_deps. 2020-03-23 23:15:51 +01:00
Camille GILLOT
2326ae39b2 Merge ensure_node_can_be_forced into force_from_dep_node. 2020-03-23 23:15:08 +01:00
Camille GILLOT
db7bd5f828 Fallout in other crates. 2020-03-23 23:14:26 +01:00
Camille GILLOT
6624dc4045 Make librustc_query_system compile. 2020-03-23 23:07:19 +01:00
Camille GILLOT
a7e2641b9a Move dep_graph to new crate librustc_query_system. 2020-03-23 23:07:19 +01:00