Skip to content

Commit f03af1b

Browse files
committed
Remove query profiling from ensure
1 parent bbdc613 commit f03af1b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/librustc/ty/maps/plumbing.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ macro_rules! define_maps {
360360
use dep_graph::DepNodeColor;
361361
match tcx.dep_graph.node_color(&dep_node) {
362362
Some(DepNodeColor::Green(dep_node_index)) => {
363-
profq_msg!(tcx, ProfileQueriesMsg::CacheHit);
364363
tcx.dep_graph.read_index(dep_node_index);
365364
}
366365
Some(DepNodeColor::Red) => {
@@ -375,7 +374,6 @@ macro_rules! define_maps {
375374
match tcx.dep_graph.try_mark_green(tcx, &dep_node) {
376375
Some(dep_node_index) => {
377376
debug_assert!(tcx.dep_graph.is_green(dep_node_index));
378-
profq_msg!(tcx, ProfileQueriesMsg::CacheHit);
379377
tcx.dep_graph.read_index(dep_node_index);
380378
}
381379
None => {

0 commit comments

Comments
 (0)