Index: src/compiler/basic-block-instrumentor.cc |
diff --git a/src/compiler/basic-block-instrumentor.cc b/src/compiler/basic-block-instrumentor.cc |
index 54f9d6b059ab3b50a9f0f454eaf4e096d42879af..d178c235d842b76c447fbf6c065fafe03b2c1baa 100644 |
--- a/src/compiler/basic-block-instrumentor.cc |
+++ b/src/compiler/basic-block-instrumentor.cc |
@@ -13,6 +13,7 @@ |
#include "src/compiler/node.h" |
#include "src/compiler/operator-properties.h" |
#include "src/compiler/schedule.h" |
+#include "src/compiler/visualizer.h" |
namespace v8 { |
namespace internal { |
@@ -64,7 +65,7 @@ BasicBlockProfiler::Data* BasicBlockInstrumentor::Instrument( |
// Capture the schedule string before instrumentation. |
{ |
std::ostringstream os; |
- os << *schedule; |
+ os << ScheduleAsJSON(*schedule); |
data->SetSchedule(&os); |
} |
// Add the increment instructions to the start of every block. |