diff options
| author | bors <bors@rust-lang.org> | 2017-06-12 11:39:35 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-06-12 11:39:35 +0000 |
| commit | 3f8b93693da78c2cfe1d7f1dc6834c5ba61e0cc0 (patch) | |
| tree | cc270f48e3c3fd60ed60621d0067d8b5bee228f8 /src/test/run-pass/thinlto | |
| parent | 0a5218b5066d51aa0dbdf5fe5ab479c146a07b6b (diff) | |
| parent | fdff2d3588451c49adca5d92f551af94e920f0e8 (diff) | |
| download | rust-3f8b93693da78c2cfe1d7f1dc6834c5ba61e0cc0.tar.gz rust-3f8b93693da78c2cfe1d7f1dc6834c5ba61e0cc0.zip | |
Auto merge of #42537 - michaelwoerister:tcx-for-dep-node, r=nikomatsakis
incr.comp.: Make DepNode `Copy` and valid across compilation sessions This PR moves `DepNode` to a representation that does not need retracing and thus simplifies comparing dep-graphs from different compilation sessions. The code also gets a lot simpler in many places, since we don't need the generic parameter on `DepNode` anymore. See https://github.com/rust-lang/rust/issues/42294 for details. ~~NOTE: Only the last commit of this is new, the rest is already reviewed in https://github.com/rust-lang/rust/pull/42504.~~ This PR is almost done but there are some things I still want to do: - [x] Add some module-level documentation to `dep_node.rs`, explaining especially what the `define_dep_nodes!()` macro is about. - [x] Do another pass over the dep-graph loading logic. I suspect that we can get rid of building the `edges` map and also use arrays instead of hash maps in some places. cc @rust-lang/compiler r? @nikomatsakis
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
