Reviewers: Michael Starzinger,

Description:
Fix build because of dead fields.

[email protected]
BUG=

Please review this at https://codereview.chromium.org/699673002/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -11 lines):
  M src/compiler/graph-visualizer.cc


Index: src/compiler/graph-visualizer.cc
diff --git a/src/compiler/graph-visualizer.cc b/src/compiler/graph-visualizer.cc index 707a695b0d40585dd834528af60e3f1e46f90f1d..559da32ef4de97c702121d6523c4275186a5dd12 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();


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to