Index: src/compiler/graph-reducer.cc |
diff --git a/src/compiler/graph-reducer.cc b/src/compiler/graph-reducer.cc |
index 2ef1ba137dd4a2ebbc914a2cef9f4221c2da9774..b13b9547140fcc69952abaa7037c8d7fb63cee7b 100644 |
--- a/src/compiler/graph-reducer.cc |
+++ b/src/compiler/graph-reducer.cc |
@@ -168,6 +168,10 @@ void GraphReducer::Replace(Node* node, Node* replacement) { |
void GraphReducer::Replace(Node* node, Node* replacement, NodeId max_id) { |
+ if (FLAG_trace_turbo_reduction) { |
+ OFStream os(stdout); |
+ os << "- Replacing " << *node << " with " << *replacement << std::endl; |
+ } |
if (node == graph()->start()) graph()->SetStart(replacement); |
if (node == graph()->end()) graph()->SetEnd(replacement); |
if (replacement->id() <= max_id) { |