Manish Goregaokar
f5ac5cadd3
Rollup merge of #88709 - BoxyUwU:thir-abstract-const, r=lcnr
...
generic_const_exprs: use thir for abstract consts instead of mir
Changes `AbstractConst` building to use `thir` instead of `mir` so that there's less chance of consts unifying when they shouldn't because lowering to mir dropped information (see `abstract-consts-as-cast-5.rs` test)
r? `@lcnr`
2021-09-12 03:44:56 -07:00
Camille GILLOT
940fa9251e
Rename decode to data_untracked.
2021-09-10 20:18:22 +02:00
Camille GILLOT
b19ae20aad
Track span dependency using a callback.
2021-09-10 20:18:18 +02:00
Camille GILLOT
e85ddeb474
Encode spans relative to their parent.
2021-09-10 20:18:11 +02:00
Camille GILLOT
00485e0c0e
Keep a parent LocalDefId in SpanData.
2021-09-10 20:17:33 +02:00
Ellen
406d2ab95d
rename mir -> thir around abstract consts
2021-09-09 01:32:03 +01:00
Camille GILLOT
bcefd487c3
Comment drop_serialized_data.
2021-08-28 21:49:51 +02:00
Camille GILLOT
98007e2ce6
Drop the query result memmap before serializing it back.
2021-08-28 21:45:02 +02:00
Camille GILLOT
4afdeaaabd
Mmap the incremental data instead of reading it.
2021-08-28 21:45:02 +02:00
Aaron Hill
e6a5231238
Create QuerySideEffects
and use it for diagnostics
2021-07-25 20:27:58 -05:00
Camille GILLOT
81241cbf3a
Move OnDiskCache to rustc_query_impl.
2021-07-18 11:14:07 +02:00