From f03af1b8f1be0fdb04cc9d641e2777ff3a6ec817 Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Thu, 12 Oct 2017 08:48:49 -0500 Subject: [PATCH] Remove query profiling from ensure --- src/librustc/ty/maps/plumbing.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/librustc/ty/maps/plumbing.rs b/src/librustc/ty/maps/plumbing.rs index 28397ac33d9..57e3e0496e2 100644 --- a/src/librustc/ty/maps/plumbing.rs +++ b/src/librustc/ty/maps/plumbing.rs @@ -360,7 +360,6 @@ macro_rules! define_maps { use dep_graph::DepNodeColor; match tcx.dep_graph.node_color(&dep_node) { Some(DepNodeColor::Green(dep_node_index)) => { - profq_msg!(tcx, ProfileQueriesMsg::CacheHit); tcx.dep_graph.read_index(dep_node_index); } Some(DepNodeColor::Red) => { @@ -375,7 +374,6 @@ macro_rules! define_maps { match tcx.dep_graph.try_mark_green(tcx, &dep_node) { Some(dep_node_index) => { debug_assert!(tcx.dep_graph.is_green(dep_node_index)); - profq_msg!(tcx, ProfileQueriesMsg::CacheHit); tcx.dep_graph.read_index(dep_node_index); } None => {