diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-05-03 18:29:14 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-05-11 13:01:44 +0200 |
| commit | 0aa92acda7cb14c0040dcd346e5f015b6f36c352 (patch) | |
| tree | ed1e0e0ae5e77771398982c9b9f6fbc101ba5006 /src/librustc/dep_graph/dep_node.rs | |
| parent | fdd9787777dac5db6bd555df08038e3c191999e4 (diff) | |
| download | rust-0aa92acda7cb14c0040dcd346e5f015b6f36c352.tar.gz rust-0aa92acda7cb14c0040dcd346e5f015b6f36c352.zip | |
Add a query to convert from ConstValue to Allocation
Diffstat (limited to 'src/librustc/dep_graph/dep_node.rs')
| -rw-r--r-- | src/librustc/dep_graph/dep_node.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/librustc/dep_graph/dep_node.rs b/src/librustc/dep_graph/dep_node.rs index 54dda320e1f..4847a7f4ddb 100644 --- a/src/librustc/dep_graph/dep_node.rs +++ b/src/librustc/dep_graph/dep_node.rs @@ -621,13 +621,14 @@ define_dep_nodes!( <'tcx> [input] UsedCrateSource(CrateNum), [input] PostorderCnums, - // This query is not expected to have inputs -- as a result, it's - // not a good candidate for "replay" because it's essentially a - // pure function of its input (and hence the expectation is that - // no caller would be green **apart** from just this - // query). Making it anonymous avoids hashing the result, which + // These queries are not expected to have inputs -- as a result, they + // are not good candidates for "replay" because they are essentially + // pure functions of their input (and hence the expectation is that + // no caller would be green **apart** from just these + // queries). Making them anonymous avoids hashing the result, which // may save a bit of time. [anon] EraseRegionsTy { ty: Ty<'tcx> }, + [anon] ConstValueToAllocation { val: ConstValue<'tcx>, ty: Ty<'tcx> }, [input] Freevars(DefId), [input] MaybeUnusedTraitImport(DefId), |
