From ce06f447d6c49dbee94a889a996bdee3b50f8e52 Mon Sep 17 00:00:00 2001 From: "titzer@chromium.org" Date: Mon, 3 Nov 2014 17:52:51 +0000 Subject: [PATCH] Fix build because of dead fields. TBR=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/699673002 Cr-Commit-Position: refs/heads/master@{#25085} git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25085 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/compiler/graph-visualizer.cc | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/compiler/graph-visualizer.cc b/src/compiler/graph-visualizer.cc index 707a695..559da32 100644 --- a/src/compiler/graph-visualizer.cc +++ b/src/compiler/graph-visualizer.cc @@ -219,7 +219,8 @@ std::ostream& operator<<(std::ostream& os, const AsJSON& ad) { class GraphVisualizer { public: - GraphVisualizer(std::ostream& os, Zone* zone, const Graph* graph); // NOLINT + GraphVisualizer(std::ostream& os, Zone* zone, const Graph* graph) + : all_(zone, graph), os_(os) {} void Print(); @@ -228,10 +229,8 @@ class GraphVisualizer { private: void PrintEdge(Node::Edge edge); - Zone* zone_; AllNodes all_; std::ostream& os_; - const Graph* const graph_; DISALLOW_COPY_AND_ASSIGN(GraphVisualizer); }; @@ -390,14 +389,6 @@ void GraphVisualizer::Print() { } -GraphVisualizer::GraphVisualizer(std::ostream& os, Zone* zone, - const Graph* graph) // NOLINT - : zone_(zone), - all_(zone, graph), - os_(os), - graph_(graph) {} - - std::ostream& operator<<(std::ostream& os, const AsDOT& ad) { Zone tmp_zone(ad.graph.zone()->isolate()); GraphVisualizer(os, &tmp_zone, &ad.graph).Print(); -- 2.7.4