1
Fork 0

Use a field for is_eval_always.

This commit is contained in:
Camille GILLOT 2020-10-27 18:43:49 +01:00
parent 24f0b957e7
commit d8c87ac080
2 changed files with 14 additions and 13 deletions

View file

@ -26,8 +26,9 @@ pub type SerializedDepGraph = rustc_query_system::dep_graph::SerializedDepGraph<
impl rustc_query_system::dep_graph::DepKind for DepKind {
const NULL: Self = DepKind::Null;
#[inline(always)]
fn is_eval_always(&self) -> bool {
DepKind::is_eval_always(self)
self.is_eval_always
}
fn has_params(&self) -> bool {