rust/src/librustc/ty
bors 2f2d7413ff Auto merge of #42332 - michaelwoerister:no-more-retracing, r=nikomatsakis
incr.comp.: Use DefPathHash-based DepNodes in the serialized DepGraph and remove obsolete DefIdDirectory

With this PR we don't store the dep-graph as a set of `DepNode<IndexIntoDefIdDirectory>` anymore but instead as a set of `DepNode<DefPathHash>`. Since a `DefPathHash` is a global identifier that is valid across compilation sessions, we don't need the `DefIdDirectory` anymore.

Since a `DepNode<DefPathHash>` is bigger than a `DepNode<IndexIntoDefIdDirectory>` and our on-disk encoding of the dep-graph is inefficient, this PR will probably increase the amount of space the dep-graph takes up on disk. I'm in the process of gathering some performance data.

The changes in here are a step towards implementing ICH-based `DepNodes` (#42294).

r? @nikomatsakis
2017-06-03 10:56:42 +00:00
..
inhabitedness Fix indentation of error message 2017-02-18 16:39:55 -05:00
_match.rs intern CodeExtents 2017-04-30 17:02:59 -04:00
adjustment.rs rustc: decompose Adjustment into a vector of adjustment steps. 2017-06-01 08:59:47 +03:00
cast.rs Refactor TyStruct/TyEnum/TyUnion into TyAdt 2016-09-08 22:17:53 +03:00
context.rs Auto merge of #42332 - michaelwoerister:no-more-retracing, r=nikomatsakis 2017-06-03 10:56:42 +00:00
error.rs Rollup merge of #41662 - nikomatsakis:on-demandify-region-mapping, r=eddyb 2017-05-02 09:09:55 -04:00
fast_reject.rs rustc: combine BareFnTy and ClosureTy into FnSig. 2017-02-25 17:47:15 +02:00
flags.rs remove the cell from type flags completely 2017-05-22 15:37:10 -04:00
fold.rs rustc: remove unused TypeFolder methods. 2017-06-01 08:59:47 +03:00
instance.rs rustc: rename some of the queries to match tcx methods. 2017-04-24 15:20:52 +03:00
item_path.rs fix RUST_LOG ICE caused by printing a default impl's DefId 2017-05-28 10:43:25 +03:00
layout.rs pacify the mercilous tidy 2017-06-01 13:31:12 -04:00
maps.rs rewrite layout to take a (param-env, ty) pair instead of infcx 2017-06-01 12:56:30 -04:00
mod.rs Auto merge of #42332 - michaelwoerister:no-more-retracing, r=nikomatsakis 2017-06-03 10:56:42 +00:00
outlives.rs rustc: treat ReEarlyBound as free without replacing it with ReFree. 2017-05-13 17:42:59 +03:00
relate.rs Upgrade ProjectionTy's Name to a DefId 2017-05-31 12:35:13 -04:00
steal.rs add FIXME to Steal 2017-05-02 16:21:58 -04:00
structural_impls.rs strip param-env from infcx 2017-06-01 13:31:09 -04:00
sty.rs Auto merge of #42332 - michaelwoerister:no-more-retracing, r=nikomatsakis 2017-06-03 10:56:42 +00:00
subst.rs rustc: remove unused TypeFolder methods. 2017-06-01 08:59:47 +03:00
trait_def.rs Make a newtype for DefPathHash so they are not confused with content hashes 2017-05-31 13:54:38 +02:00
util.rs remove layout_cache and fix -Z print-type-sizes 2017-06-01 13:31:11 -04:00
walk.rs rustc: combine BareFnTy and ClosureTy into FnSig. 2017-02-25 17:47:15 +02:00
wf.rs strip param-env from infcx 2017-06-01 13:31:09 -04:00