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