Files
rust/src
bors 4c59c92bc4 Auto merge of #40873 - cramertj:on-demandify-queries, r=nikomatsakis
On demandify reachability

cc https://github.com/rust-lang/rust/issues/40746

I tried following this guidance from #40746:
> The following tasks currently execute before a tcx is built, but they could be easily converted into queries that are requested after tcx is built. The main reason they are the way they are was to avoid a gratuitious refcell (but using the refcell map seems fine)...

but the result of moving `region_maps` out of `TyCtxt` and into a query caused a lot of churn, and seems like it could potentially result in a rather large performance hit, since it means a dep-graph lookup on every use of `region_maps` (rather than just a field access). Possibly `TyCtxt` could store a `RefCell<Option<RegionMap>>` internally and use that to prevent repeat lookups, but that feels like it's duplicating the work of the dep-graph. @nikomatsakis What did you have in mind for this?
2017-04-07 08:36:11 +00:00
..
2017-03-20 10:10:16 -04:00
2017-04-06 12:57:40 +01:00
2017-03-25 11:03:06 -03:00
2017-03-23 11:28:00 -07:00
2017-03-23 11:28:00 -07:00
2017-04-04 16:08:00 +12:00
2017-04-04 15:39:44 -04:00
2017-03-24 00:54:23 +02:00
2017-03-28 11:38:56 -06:00
2017-03-24 00:54:23 +02:00