Index: src/compiler/graph-reducer.cc |
diff --git a/src/compiler/graph-reducer.cc b/src/compiler/graph-reducer.cc |
index 2ef1ba137dd4a2ebbc914a2cef9f4221c2da9774..466f935f51c848e7691dba6405829da355ed68e2 100644 |
--- a/src/compiler/graph-reducer.cc |
+++ b/src/compiler/graph-reducer.cc |
@@ -168,6 +168,12 @@ void GraphReducer::Replace(Node* node, Node* replacement) { |
void GraphReducer::Replace(Node* node, Node* replacement, NodeId max_id) { |
+ if (FLAG_trace_turbo_reduction) { |
Benedikt Meurer
2016/07/09 17:45:23
Can you use the streams instead? I.e. sth along th
|
+ PrintF("- Replacing "); |
+ node->Print(); |
+ PrintF("+ with "); |
+ replacement->Print(); |
+ } |
if (node == graph()->start()) graph()->SetStart(replacement); |
if (node == graph()->end()) graph()->SetEnd(replacement); |
if (replacement->id() <= max_id) { |