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

Unified Diff: src/compiler/graph-visualizer.h

Issue 882973002: [turbofan] Improve JSON output (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nits Created 5 years, 11 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.cc » ('j') | src/compiler/pipeline.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/graph-visualizer.h
diff --git a/src/compiler/graph-visualizer.h b/src/compiler/graph-visualizer.h
index 3dd66eaf41f3de71182e71902666f3d9f44f3339..fa0e4cd0524c8aa283e42f5723240610b9d889ee 100644
--- a/src/compiler/graph-visualizer.h
+++ b/src/compiler/graph-visualizer.h
@@ -30,8 +30,10 @@ std::ostream& operator<<(std::ostream& os, const AsDOT& ad);
struct AsJSON {
- explicit AsJSON(const Graph& g) : graph(g) {}
+ explicit AsJSON(const Graph& g, SourcePositionTable* p)
Sven Panne 2015/01/28 15:00:43 Nit: Remove explicit.
danno 2015/01/28 15:30:12 Done.
+ : graph(g), positions(p) {}
const Graph& graph;
+ const SourcePositionTable* positions;
};
std::ostream& operator<<(std::ostream& os, const AsJSON& ad);
« no previous file with comments | « no previous file | src/compiler/graph-visualizer.cc » ('j') | src/compiler/pipeline.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698