about summary refs log tree commit diff
path: root/src/librustc_data_structures/stable_hasher.rs
AgeCommit message (Collapse)AuthorLines
2018-03-09Move PROFQ_CHAN to a Session fieldJohn Kåre Alsaker-23/+0
2018-03-08Produce instead of pointersOliver Schneider-0/+8
2017-10-26Update some comments about StableHasher.Michael Woerister-20/+6
2017-10-25Fix 32 vs 64 bit platform instability in StableHasher.Michael Woerister-4/+10
2017-10-16Make debuginfo::UniqueTypeId use 128 bit hash.Michael Woerister-31/+0
2017-10-16Use SipHasher128 in StableHasher.Michael Woerister-53/+66
2017-09-20incr.comp.: Add some comments.Michael Woerister-1/+3
2017-09-20incr.comp.: Make sure traits_in_scope results are hashed in a stable way.Michael Woerister-0/+32
2017-09-18incr.comp.: Fix rebase fallout.Michael Woerister-0/+8
2017-09-18incr.comp.: Use StableHash impls instead of functions for hashing most maps.Michael Woerister-8/+42
2017-09-18Fix issues uncovered by rebasing:Michael Woerister-22/+65
- Don't hash traits in scope as part of HIR hashing any more. - Some queries returned DefIndexes from other crates. - Provide a generic way of stably hashing maps (not used everywhere yet).
2017-09-18incr.comp.: Move result fingerprinting to DepGraph::with_task().Michael Woerister-3/+25
This makes sure that we don't introduce strange cases where we have nodes outside the query system that could break red/green tracking and it will allow to keep red/green neatly encapsulated within the DepGraph implementation.
2017-09-18incr.comp.: Compute hashes of all query results.Michael Woerister-1/+27
2017-08-14Merge remote-tracking branch 'origin/master' into genAlex Crichton-1/+1
2017-08-11Fix some typosBastien Orivel-1/+1
2017-07-28Generator literal supportJohn Kåre Alsaker-0/+9
2017-06-11External spans: fixed unit tests and addressed review.Inokentiy Babushkin-1/+1
2017-06-10Added a `StableHasherResult` impl for `u128`.Inokentiy Babushkin-0/+11
2017-06-06ICH: Add some HashStable implementations.Michael Woerister-0/+26
2017-05-08incr.comp.: Hash more pieces of crate metadata to detect changes there.Michael Woerister-0/+10
2017-04-12ICH: Replace old, transitive metadata hashing with direct hashing approach.Michael Woerister-1/+6
Instead of collecting all potential inputs to some metadata entry and hashing those, we directly hash the values we are storing in metadata. This is more accurate and doesn't suffer from quadratic blow-up when many entries have the same dependencies.
2017-04-06Introduce HashStable trait and base ICH implementations on it.Michael Woerister-1/+191
This initial commit provides implementations for HIR, MIR, and everything that also needs to be supported for those two.
2017-02-03Bump version, upgrade bootstrapAlex Crichton-1/+0
This commit updates the version number to 1.17.0 as we're not on that version of the nightly compiler, and at the same time this updates src/stage0.txt to bootstrap from freshly minted beta compiler and beta Cargo.
2016-12-30Fix rebase fallout and compilation fixesest31-2/+3
2016-12-15Use StableHasher everywhereAriel Ben-Yehuda-0/+176
The standard implementations of Hasher have architecture-dependent results when hashing integers. This causes problems when the hashes are stored within metadata - metadata written by one host architecture can't be read by another. To fix that, implement an architecture-independent StableHasher and use it in all places an architecture-independent hasher is needed. Fixes #38177.