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

Unified Diff: src/compiler/basic-block-instrumentor.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
« no previous file with comments | « no previous file | src/compiler/graph-visualizer.h » ('j') | src/compiler/visualizer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | src/compiler/graph-visualizer.h » ('j') | src/compiler/visualizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698