Oliver Schneider
a67ded06a3
Don't recurse into allocations, use a global table instead
2018-04-14 12:21:46 +02:00
Guillaume Gomez
812656dc95
Rename must-compile-successfully into compile-pass
2018-04-13 23:28:03 +02:00
Shotaro Yamada
3832e8b3e3
[incremental] Hash Allocations
2018-04-07 12:48:33 +09:00
bors
70248b1fcf
Auto merge of #49500 - oli-obk:mir_dep_graph, r=michaelwoerister
...
Introduce an edge from a const eval to the MIR of all statics it depends on
r? @michaelwoerister
2018-03-31 12:50:13 +00:00
Oliver Schneider
70c10f1f14
Introduce an edge from a const eval to the MIR of all statics it depends on
2018-03-30 12:31:48 +02:00
bors
051050dab9
Auto merge of #49424 - oli-obk:stable_allocid_hash, r=michaelwoerister
...
Fix stable hashing of AllocIds
r? @michaelwoerister
fixes #49081
2018-03-30 09:11:08 +00:00
Oliver Schneider
fa60b72123
Fix stable hashing of AllocIds
2018-03-28 10:12:04 +02:00
Taylor Cramer
0f5b52e4a8
Stabilize conservative_impl_trait
2018-03-26 10:43:03 +02:00
David Wood
3a0162b7cb
Fixed issues with incremental tests.
2018-03-23 14:04:08 +00:00
Oliver Schneider
13bfbe1394
Encode/decode extern statics in metadata and incremental cache
2018-03-20 10:36:45 +01:00
bors
a04b88d194
Auto merge of #49079 - oli-obk:cross_miri, r=michaelwoerister
...
Cleanup metadata and incremental cache processing of constants
fixes #49033
fixes #49081
we really need tests for this. do we have any cross compilation tests? I couldn't find any
2018-03-19 10:39:26 +00:00
Niko Matsakis
f02dc74c2c
extend stable hasher to support CanonicalTy
2018-03-16 12:49:37 -04:00
Oliver Schneider
49dac83f84
Cleanup metadata and incremental cache processing of constants
2018-03-16 17:22:37 +01:00
kennytm
92d1f8d8e4
Stabilize inclusive_range_syntax language feature.
...
Stabilize the syntax `a..=b` and `..=b`.
2018-03-15 16:58:02 +08:00
Michael Woerister
9f8b9a0d3e
incr.comp.: Add regression test for detecting feature gate changes.
2018-03-05 11:05:01 +01:00
Manish Goregaokar
fac7d7cfb2
Rollup merge of #48359 - jsgf:remap-path-prefix, r=sanxiyn
...
Fixes #47311 .
r? @nrc
2018-02-28 15:09:24 -08:00
Jeremy Fitzhardinge
56a6828533
Implement --remap-path-prefix
...
Remove experimental -Zremap-path-prefix-from/to, and replace it with
the stabilized --remap-path-prefix=from=to variant.
This is an implementation for issue of #41555 .
2018-02-22 15:13:21 -08:00
Eduard-Mihai Burtescu
6e5dacbd5e
rustc_mir: always run the deaggregator.
2018-02-20 02:50:26 +02:00
bobtwinkles
85dfa9d1a3
Fix tests for MIR loop lowering
...
Fixes the hash test to recognize that MirValidated can change when changing
around labels, and add a new test that makes sure we're lowering loop statements
correctly.
2018-02-07 20:00:54 -05:00
Eduard-Mihai Burtescu
6f8d263e87
tests: replace "lvalue" terminology with "place".
2018-01-29 11:48:12 +02:00
kennytm
470a8e1a97
Remove excessive trailing newlines.
2017-12-30 15:50:52 +08:00
Michael Woerister
a3c3245e91
incr.comp.: Mark DepKind node as input.
2017-12-18 15:40:07 +01:00
Niko Matsakis
b7794c0d3f
move resolve_lifetimes into a proper query
...
Now that we made `resolve_lifetimes` into a query, elision errors no
longer abort compilation, which affects some tests.
Also, remove `dep_graph_crosscontaminate_tables` -- there is no a path in
the dep-graph, though red-green handles it. The same scenario
is (correctly) tested by issue-42602.rs in any case.
2017-12-11 10:11:13 -05:00
Michael Woerister
c5dd9f5301
incr.comp.: Hash spans unconditionally for full accuracy.
2017-12-08 10:02:26 +01:00
Jeff Crocker
3f0cc7caca
Format function interface fingerprint hash tests
2017-12-05 15:27:14 -08:00
Jeff Crocker
104ebd2c43
Update 'while loop' fingerprint hash tests
2017-12-05 15:01:49 -08:00
Jeff Crocker
b8714c6040
Update 'while let loop' fingerprint hash tests
2017-12-05 14:57:35 -08:00
Jeff Crocker
3f48cbb455
Update loop expression fingerprint hash tests
2017-12-05 14:50:54 -08:00
Jeff Crocker
820ed30a85
Update inline asm fingerprint hash tests
2017-12-05 14:44:52 -08:00
Jeff Crocker
bc1754216d
Update function interface fingerprint hash tests
2017-12-05 14:40:13 -08:00
Jeff Crocker
bf3246fa10
Update for loop fingerprint hash tests
2017-12-05 14:13:58 -08:00
Jeff Crocker
77aee18c13
Update closure expression fingerprint hash tests
2017-12-05 14:03:24 -08:00
Michael Woerister
7ebccbb7a4
incr.comp.: Update test cases after metadata hashing removal.
2017-11-29 16:29:13 +01:00
Niko Matsakis
d3e0c33dbe
modify inherent impls test to indicate TypeckTables do not change
...
I also added some comments explaining what is going on. In short, the
changes in question do not, in fact, affect the`TypeckTables` in any
semantic way. However, altering the order of lowering can cause it
appear to affect the `TypeckTables`: if we lower generics before the
body, then the `HirId` for things in the body will be affected. In
this case, we are now lowering the generics etc
*after* the body, so the hash no longer changes. This seems good.
2017-11-22 12:44:10 -05:00
kennytm
c0c3cc4d3d
Rollup merge of #45987 - gaurikholkar:let-expr, r=michaelwoerister
...
update let-expressions hash test to use `except`
A part of #44924 , this PR updated let-expressions test using `except`.
cc @michaelwoerister
r? @nikomatsakis
2017-11-22 01:12:56 +08:00
Guillaume Gomez
387fa844bb
Rollup merge of #45951 - CrockAgile:master, r=michaelwoerister
...
incr: Update hash tests to use `except`-style checking
Part of #44924
r? @michaelwoerister
2017-11-16 10:05:02 +01:00
Jeff Crocker
d1a83c6bd2
Remove checked arithmetic from if expression hash tests
2017-11-14 12:12:04 -08:00
Guillaume Gomez
d0b11b9bd1
Rollup merge of #45950 - fitzgen:update-unary-and-binary-exprs-test-to-use-incr-except, r=michaelwoerister
...
incr: Make `unary_and_binary_exprs.rs` use `except`-style incremental checking
Part of #44924
r? @michaelwoerister
2017-11-14 16:52:10 +01:00
Guillaume Gomez
c95ef0d9d5
Rollup merge of #45941 - gaurikholkar:master, r=nikomatsakis
...
update match-expressions.rs with DepNode labels
As a part of #44924 , I have updated the match-expressions.rs. The PR has tests verified for the following dependency nodes for let-expressions
- MirValidated
- MirOptimized
- TypeCheckTables
- TypeOfItem
- GenericsOfItem
- PredicatesOfItem
- FnSignature
cc @michaelwoerister
r? @nikomatsakis
2017-11-14 16:52:09 +01:00
gaurikholkar
ef275d1c10
update let-expressions to use except
2017-11-14 21:01:08 +05:30
gaurikholkar
39f468e668
fixing indentation
2017-11-13 20:19:54 +05:30
Jeff Crocker
642468858f
Updated exported incremental compilation hash tests
2017-11-12 16:24:41 -08:00
Jeff Crocker
44528cb7be
Fix indexing expressions test copy/paste docs
2017-11-12 16:20:22 -08:00
Jeff Crocker
b30b442ce1
Update if-expressions incremental hash tests
2017-11-12 16:13:42 -08:00
Nick Fitzgerald
c9c7d9f57a
incr: Make unary_and_binary_exprs.rs use except-style incremental checking
...
Part of #44924
2017-11-12 16:12:29 -08:00
Jeff Crocker
e9e876d92e
Update panic expressions w/o overflow checks tests
2017-11-12 15:48:43 -08:00
Jeff Crocker
59592b11b7
Update panic expression incremental tests
2017-11-12 14:57:43 -08:00
gaurikholkar
f345b3c652
tidy fixes
2017-11-12 20:29:32 +05:30
gaurikholkar
1846addf04
update match-expressions.rs
2017-11-12 15:56:19 +05:30
Michael Woerister
67d2b1b7fd
incr.comp.: Don't crash in DepGraph::try_mark_green() when encountering a removed input node.
2017-11-10 17:50:15 +01:00