Commit Graph

21 Commits

Author SHA1 Message Date
Mark Mansi
e957ed9d10 move librustc to 2018 2019-02-05 12:45:47 -06:00
John Kåre Alsaker
975eb312ef Use multiple threads by default. Limits tests to one thread. Do some renaming. 2019-01-28 16:24:33 +01:00
John Kåre Alsaker
f21c08439a Move diagnostics out from QueryJob and optimize for the case with no diagnostics 2019-01-08 18:50:43 +01:00
Mark Rousskov
2a663555dd Remove licenses 2018-12-25 21:08:33 -07:00
bors
27c4335287 Auto merge of #56983 - ljedrz:parallel_query_tweaks, r=Zoxc
Parallel query tweaks

- faster stack reversal in `remove_cycle`
- insert visited queries more eagerly
- simplify stack trimming in `cycle_check`
- minor refactoring in 2 spots
2018-12-25 10:52:13 +00:00
ljedrz
dfe187d348 query: simplify stack trimming in cycle_check 2018-12-19 17:36:39 +01:00
ljedrz
c2fa99d2c6 query: minor refactoring 2018-12-19 15:15:24 +01:00
ljedrz
d7ca075881 query: insert visited queries more eagerly 2018-12-19 15:15:04 +01:00
ljedrz
3294a69abb query: faster stack reversal in remove_cycle 2018-12-19 13:08:17 +01:00
John Kåre Alsaker
9d888eadc5 Rename await into cycle_error for the single threaded case and add some comments 2018-12-17 08:53:02 +01:00
John Kåre Alsaker
c66b84457f Tweak query code for performance 2018-12-17 08:53:01 +01:00
John Kåre Alsaker
4fac7396a2 Fix a race condition 2018-12-06 23:18:06 +01:00
John Kåre Alsaker
ecd5efa641 Show usages of query cycles and correctly shift queries in a cycle 2018-12-06 23:18:06 +01:00
ljedrz
7ad21a88e6 rustc/ty: improve stack shifting and remove related allocations 2018-10-05 09:00:54 +02:00
ljedrz
0ee6b54c24 rustc/ty: move a faster early return up 2018-10-05 09:00:54 +02:00
ljedrz
e153103c38 rustc/ty: improve allocations 2018-10-05 09:00:53 +02:00
Eduard-Mihai Burtescu
93f3f5b155 Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc. 2018-08-28 17:04:04 +03:00
Matthias Krüger
71120ef1e5 Fix typos found by codespell. 2018-08-19 17:41:28 +02:00
Vadim Petrochenkov
382285a01d Revert some use of PtrKey to fix parallel_queries build 2018-07-20 12:45:07 +03:00
Vadim Petrochenkov
2eb83ee527 data_structures: Add a reference wrapper for pointer-indexed maps/sets
Use `ptr::eq` for comparing pointers
2018-07-20 12:22:24 +03:00
Eduard-Mihai Burtescu
5a5c7ded0d rustc: rename ty::maps to ty::query. 2018-06-14 18:05:12 +03:00