Michael Woerister
|
c5dd9f5301
|
incr.comp.: Hash spans unconditionally for full accuracy.
|
2017-12-08 10:02:26 +01:00 |
|
Niko Matsakis
|
0f568e2f34
|
convert constant promotion into a query
|
2017-10-16 17:32:22 -04:00 |
|
Michael Woerister
|
d5b1fee6fd
|
incr.comp.: Remove tcx from StableHashingContext.
|
2017-09-18 11:29:47 +02:00 |
|
Michael Woerister
|
b9816c5fab
|
incr.comp.: Already hash HIR bodies during metadata export so they don't have to be hashed in downstream crates.
|
2017-09-18 11:26:11 +02:00 |
|
Douglas Campos
|
2bde6949f9
|
bring TyCtxt into scope
|
2017-09-14 21:26:06 -04:00 |
|
Zack M. Davis
|
1b6c9605e4
|
use field init shorthand EVERYWHERE
Like #43008 (f668999), but _much more aggressive_.
|
2017-08-15 15:29:17 -07:00 |
|
Michael Woerister
|
6a5e2a5a9e
|
incr.comp.: Hash more pieces of crate metadata to detect changes there.
|
2017-05-08 12:31:26 +02:00 |
|
Michael Woerister
|
bc7af816f3
|
ICH: Hash everything that gets encoded into crate metadata.
|
2017-04-12 11:42:15 +02:00 |
|
Eduard-Mihai Burtescu
|
45c8c5678a
|
rustc: rename TyCtxt's map field to hir .
|
2017-01-26 13:41:28 +02:00 |
|
Niko Matsakis
|
282f7a3c44
|
rename Tables to TypeckTables
|
2017-01-25 16:24:00 -05:00 |
|
Eduard-Mihai Burtescu
|
cde0a7e7e0
|
rustc: store ty::Tables separately for each body (except closures').
|
2017-01-06 22:23:29 +02:00 |
|
Eduard-Mihai Burtescu
|
85a4a192c7
|
rustc: keep track of tables everywhere as if they were per-body.
|
2017-01-06 22:23:29 +02:00 |
|
Eduard-Mihai Burtescu
|
ee0ea95343
|
rustdoc: pretty-print nested bodies in inlined constants.
|
2016-12-28 11:29:21 +02:00 |
|
Eduard-Mihai Burtescu
|
f64e73b6ec
|
rustc: simplify constant cross-crate loading and rustc_passes::consts.
|
2016-12-28 11:29:19 +02:00 |
|
Michael Woerister
|
aed0cdbfd2
|
definitions: Don't allocate DefIds for inlined HIR
|
2016-12-16 19:14:16 -05:00 |
|
Niko Matsakis
|
104125d5f7
|
revamp Visitor with a single method for controlling nested visits
|
2016-11-29 13:04:27 +01:00 |
|
Florian Diebold
|
f0ce5bb66b
|
Split nested_visit_mode function off from nested_visit_map
... and make the latter mandatory to implement.
|
2016-11-29 13:04:27 +01:00 |
|
Florian Diebold
|
16eedd2a78
|
Save bodies of functions for inlining into other crates
This is quite hacky and I hope to refactor it a bit, but at least it
seems to work.
|
2016-11-29 13:04:27 +01:00 |
|
Florian Diebold
|
441e099195
|
rustc_metadata: fix compilation
|
2016-11-29 13:04:27 +01:00 |
|
Florian Diebold
|
f55482e7c9
|
rustc: replace body exprs by their ids
|
2016-11-29 13:04:27 +01:00 |
|
Eduard-Mihai Burtescu
|
962633cdbb
|
rustc: embed path resolutions into the HIR instead of keeping DefMap.
|
2016-11-28 04:18:10 +02:00 |
|
Eduard Burtescu
|
3f9eba1c7c
|
rustc: clean up lookup_item_type and remove TypeScheme.
|
2016-11-10 16:49:53 +02:00 |
|
Eduard Burtescu
|
0d7201ef46
|
rustc: record the target type of every adjustment.
|
2016-11-02 04:00:02 +02:00 |
|
Eduard Burtescu
|
6a8d131e5d
|
rustc: make all read access to tcx.tables go through a method.
|
2016-11-02 03:50:32 +02:00 |
|
Srinivas Reddy Thatiparthy
|
cac3e5a935
|
Run rustfmt on metadata folder - (1/2)
|
2016-10-23 08:37:50 +05:30 |
|
Eduard Burtescu
|
a96abca2a4
|
rustc_metadata: replace RBML with a simple and type-safe scheme.
|
2016-09-20 20:08:05 +03:00 |
|
Eduard Burtescu
|
adddfccf2b
|
rustc_metadata: move all encoding/decoding helpers to methods.
|
2016-09-20 20:08:05 +03:00 |
|
Eduard Burtescu
|
ef4352fba6
|
rustc_metadata: group information into less tags.
|
2016-09-20 20:08:04 +03:00 |
|
Eduard Burtescu
|
6742b239ac
|
rustc_metadata: remove all unnecessary tables from astencode.
|
2016-09-20 20:08:03 +03:00 |
|
Eduard Burtescu
|
d2ea3daad1
|
rustc_metadata: group the tags into root tags and item tags.
|
2016-09-20 20:08:03 +03:00 |
|
Eduard Burtescu
|
0863012fb9
|
Remove librbml and the RBML-tagged auto-encoder/decoder.
|
2016-09-20 20:08:01 +03:00 |
|
Eduard Burtescu
|
ed593bed88
|
rustc_metadata: go back to not using the opaque format.
|
2016-09-20 20:08:00 +03:00 |
|
Eduard Burtescu
|
903ec52ba9
|
rustc: replace uses of NodeId in Def, other than closures and labels.
|
2016-09-20 20:08:00 +03:00 |
|
Eduard Burtescu
|
fc363cb482
|
rustc_metadata: go only through rustc_serialize in astencode.
|
2016-09-20 20:07:54 +03:00 |
|
Eduard Burtescu
|
91e7239db4
|
rustc_metadata: combine DecodeContext and rbml::reader::Decoder.
|
2016-09-20 20:07:16 +03:00 |
|
Eduard Burtescu
|
82197287a2
|
rustc_metadata: combine EncodeContext and rbml::writer::Encoder.
|
2016-09-20 19:21:33 +03:00 |
|
Eduard Burtescu
|
7b073343db
|
rustc_metadata: remove astencode tests.
|
2016-09-20 19:21:33 +03:00 |
|
Eduard Burtescu
|
78ace66b6a
|
rustc_metadata: remove extension traits from astencode.
|
2016-09-20 19:21:33 +03:00 |
|
Eduard Burtescu
|
87db6b9e65
|
rustc_metadata: remove redundant lifetimes from astencode::DecodeContext.
|
2016-09-20 19:21:33 +03:00 |
|
Vadim Petrochenkov
|
e05e74ac83
|
Replace _, _ with ..
|
2016-09-04 12:30:33 +03:00 |
|
Vadim Petrochenkov
|
35d52a003b
|
Add unions to definition map
|
2016-09-03 13:37:25 +03:00 |
|
Eduard Burtescu
|
dffd238f8b
|
rustc: pass ty::Region behind an interned 'tcx reference.
|
2016-08-27 01:15:06 +03:00 |
|
Eduard Burtescu
|
25cf8001b1
|
Remove AST from metadata except for consts and const fns.
|
2016-08-24 13:23:38 +03:00 |
|
Eduard Burtescu
|
c1cfd58cbd
|
rustc: remove SelfSpace from ParamSpace.
|
2016-08-17 05:50:57 +03:00 |
|
Eduard Burtescu
|
4158673ad7
|
rustc: reduce Substs and Generics to a simple immutable API.
|
2016-08-17 05:50:57 +03:00 |
|
Eduard Burtescu
|
4b25f08512
|
rustc: move trait objects from TraitRef to ExistentialTraitRef.
|
2016-08-17 05:50:57 +03:00 |
|
Andrew Cann
|
fadabe08f5
|
Rename empty/bang to never
Split Ty::is_empty method into is_never and is_uninhabited
|
2016-08-13 21:37:09 +08:00 |
|
Andrew Cann
|
0d863616e0
|
Add EmptyToAny adjustment
|
2016-08-13 21:37:09 +08:00 |
|
Niko Matsakis
|
82b6dc20d8
|
fixup tests for new def'n of InlinedItem
it now carries a def-id; supply a dummy
|
2016-08-08 21:35:07 -04:00 |
|
Niko Matsakis
|
94acff1803
|
replace graph rewriting with detecting inlined ids
We now detect inlined id's earlier (in the HIR map) and rewrite a read
of them to be a read of the metadata for the associated item.
|
2016-08-02 16:36:09 -04:00 |
|