diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-24 00:49:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-24 00:49:36 +0100 |
| commit | 9da25d9faf12a58ba05e4d95bf656625071e9eca (patch) | |
| tree | 8678e532097dba374389ddc411a154d354ed2c42 /src/rustllvm/RustWrapper.cpp | |
| parent | 1edd389cc4c7b5be7a3dd4fe4b986f6017018e54 (diff) | |
| parent | 0f918cba3ff48216a140db4fd06e2ea13abc78c9 (diff) | |
| download | rust-9da25d9faf12a58ba05e4d95bf656625071e9eca.tar.gz rust-9da25d9faf12a58ba05e4d95bf656625071e9eca.zip | |
Rollup merge of #67761 - cjgillot:split_graph, r=Zoxc
Move the dep_graph construction to a dedicated crate. The interface for librustc consists in two traits: `DepKind` and `DepContext`. The `DepKind` is the main interface. It allows to probe properties of the dependency. As before, `DepNode` is the pair of a `DepKind` object and a hash fingerprint. The `DepContext` takes the place of the `TyCtxt`, and handles communication with the query engine. The use of the `ImplicitCtxt` through `ty::tls` is done through the `DepKind` trait. This may not be the best choice, but it seemed like the simplest.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
