Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: src/compiler/graph-reducer.cc

Issue 2123283006: [turbofan] Renamed tracing flags for TurboFan reducers and graph trimmer (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/graph-trimmer.cc » ('j') | src/flag-definitions.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | src/compiler/graph-trimmer.cc » ('j') | src/flag-definitions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698