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

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: Renamed tracing flags for TurboFan reducers and graph trimmer 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') | no next file with comments »
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..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) {
« no previous file with comments | « no previous file | src/compiler/graph-trimmer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698