about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-24 00:49:36 +0100
committerGitHub <noreply@github.com>2020-03-24 00:49:36 +0100
commit9da25d9faf12a58ba05e4d95bf656625071e9eca (patch)
tree8678e532097dba374389ddc411a154d354ed2c42 /src/rustllvm/RustWrapper.cpp
parent1edd389cc4c7b5be7a3dd4fe4b986f6017018e54 (diff)
parent0f918cba3ff48216a140db4fd06e2ea13abc78c9 (diff)
downloadrust-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