Niko Matsakis
8150494ac2
add a deterministic_hash
method to DefPath
...
Produces a deterministic hash, at least for a single platform /
compiler-version.
2016-08-09 08:26:06 -04:00
Niko Matsakis
571010bb52
replace Name with InternedString in DefPathData
...
Fixes #35292 .
2016-08-09 08:26:06 -04:00
Niko Matsakis
2e7df80098
make metadata hashes determinstic
...
When we hash the inputs to a MetaData node, we have to hash them in a
consistent order. We achieve this by sorting the stringfied `DefPath`
entries. Also, micro-optimie by cache more results across the saving
process.
2016-08-02 05:31:25 -04:00
Jeffrey Seyfried
e58963d3e4
groundwork: create the Resolver
earlier in phase 2
2016-06-28 05:28:27 +00:00
Ticki
da55fd788b
Improve internal documentation and code style
...
Fix some code layout, remove some unnecessary returns, fix typos,
punctuation, and comment consistency.
2016-05-21 08:51:08 -05:00
Niko Matsakis
b01919a144
allow retracing paths across crates
...
For external crates, we must build up a map that goes from
the DefKey to the DefIndex. We do this by iterating over each
index that is found in the metadata and loading the associated
DefKey.
2016-05-18 10:11:36 -04:00
Jeffrey Seyfried
8428447253
Move resolution to before lowering
2016-05-09 02:31:04 +00:00
Michael Woerister
e8441b6784
Add initial version of codegen unit partitioning for incremental compilation.
2016-04-15 10:05:53 -04:00
Niko Matsakis
d8263c4758
add function to retrace a DefPath to a DefId
...
used after loading state from previous compilation
2016-04-06 12:42:46 -04:00
Eduard Burtescu
ffca6c3e15
rustc: move middle::{def,def_id,pat_util} to hir.
2016-04-06 09:14:21 +03:00
Eduard Burtescu
8b0937293b
rustc: move rustc_front to rustc::hir.
2016-04-06 09:01:55 +03:00