about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJimmy Brisson <theotherjimmy@gmail.com>2017-10-12 08:48:49 -0500
committerJimmy Brisson <theotherjimmy@gmail.com>2017-10-12 08:48:49 -0500
commitf03af1b8f1be0fdb04cc9d641e2777ff3a6ec817 (patch)
treecbbd21b207e9465d620c97e6cb2cb79208fc7cef
parentbbdc61313df2c54c08cddcfde803cc2b40aa2ba3 (diff)
downloadrust-f03af1b8f1be0fdb04cc9d641e2777ff3a6ec817.tar.gz
rust-f03af1b8f1be0fdb04cc9d641e2777ff3a6ec817.zip
Remove query profiling from ensure
-rw-r--r--src/librustc/ty/maps/plumbing.rs2
1 files changed, 0 insertions, 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 => {