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

Unified Diff: src/compiler/scheduler.cc

Issue 985023002: [turbofan] Add schedule to visualizer output (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove redundant cdoe Created 5 years, 9 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
Index: src/compiler/scheduler.cc
diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc
index a0ab947eab6f7fdf2db7aec95473f05e3daa9445..2b232fbcca623a36a71f66013a495213e3d4e73e 100644
--- a/src/compiler/scheduler.cc
+++ b/src/compiler/scheduler.cc
@@ -13,6 +13,7 @@
#include "src/compiler/node.h"
#include "src/compiler/node-marker.h"
#include "src/compiler/node-properties.h"
+#include "src/compiler/visualizer.h"
#include "src/zone-containers.h"
namespace v8 {
@@ -1637,7 +1638,8 @@ void Scheduler::FuseFloatingControl(BasicBlock* block, Node* node) {
Trace("--- FUSE FLOATING CONTROL ----------------------------------\n");
if (FLAG_trace_turbo_scheduler) {
OFStream os(stdout);
- os << "Schedule before control flow fusion:\n" << *schedule_;
+ os << "Schedule before control flow fusion:\n"
+ << ScheduleAsJSON(*schedule_);
}
// Iterate on phase 1: Build control-flow graph.
@@ -1679,7 +1681,7 @@ void Scheduler::FuseFloatingControl(BasicBlock* block, Node* node) {
if (FLAG_trace_turbo_scheduler) {
OFStream os(stdout);
- os << "Schedule after control flow fusion:\n" << *schedule_;
+ os << "Schedule after control flow fusion:\n" << ScheduleAsJSON(*schedule_);
}
}
« no previous file with comments | « src/compiler/schedule.cc ('k') | src/compiler/visualizer.h » ('j') | src/compiler/visualizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698