| 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_);
|
| }
|
| }
|
|
|
|
|