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

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

Issue 699673002: Fix build because of dead fields. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698