about summary refs log tree commit diff
path: root/src/test/incremental
AgeCommit message (Collapse)AuthorLines
2016-08-09incorporate resolve results into hashingNiko Matsakis-2/+138
We now incorporate the `def_map` and `trait_map` results into the SVH.
2016-08-09stop hashing nested items, and add a testNiko Matsakis-0/+36
2016-08-09use preds to serialize just what we needNiko Matsakis-6/+12
This massively speeds up serialization. It also seems to produce deterministic metadata hashes (before I was seeing inconsistent results). Fixes #35232.
2016-08-02watch out for krate numbers being reassignedNiko Matsakis-0/+44
The biggest problem, actually, is krate numbers being removed entirely, which can lead to array-index-out-of-bounds errors. cc #35123 -- not a complete fix, since really we ought to "map" the old crate numbers to the new ones, not just detect changes.
2016-08-02remap Hir(InlinedDefId) to MetaData(OriginalDefId)Niko Matsakis-0/+33
The way we do HIR inlining introduces reads of the "Hir" into the graph, but this Hir in fact belongs to other crates, so when we try to load later, we ICE because the Hir nodes in question don't belond to the crate (and we haven't done inlining yet). This pass rewrites those HIR nodes to the metadata from which the inlined HIR was loaded.
2016-08-01hash foreign items tooNiko Matsakis-0/+45
2016-07-28Keep multiple files per work-productNiko Matsakis-0/+63
In the older version, a `.o` and ` .bc` file were separate work-products. This newer version keeps, for each codegen-unit, a set of files of different kinds. We assume that if any kinds are available then all the kinds we need are available, since the precise set of switches will depend on attributes and command-line switches. Should probably test this: the effect of changing attributes in particular might not be successfully tracked?
2016-07-28Address mw nitsNiko Matsakis-10/+0
2016-07-28Add a testing mechanism and a simple spike testNiko Matsakis-0/+197
2016-05-31add def-ids from nominal types into TraitSelectNiko Matsakis-5/+5
This way we distinguish, in particular, `Foo: Sized` and `Bar: Sized`, which fixes #33850.
2016-05-31extend type alias test to include a clean revNiko Matsakis-1/+7
2016-05-31add a series of tests for changes to structsNiko Matsakis-0/+326
These tests reveal that the edges are in some cases too strict.
2016-05-18always make at least one codegen-unitNiko Matsakis-2/+0
this allows us to remove the dummy `foo` fn
2016-05-18basic tests for cross-crate hashingNiko Matsakis-0/+102
2016-04-06Fix test cases to reflect that #32014...went awayNiko Matsakis-4/+3
Not sure what was the bug. Fixes #32014.
2016-04-06add incremental test runner and some testsNiko Matsakis-0/+158