Commit ce06f447 authored by titzer@chromium.org's avatar titzer@chromium.org

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
parent 5bba6b20
...@@ -219,7 +219,8 @@ std::ostream& operator<<(std::ostream& os, const AsJSON& ad) { ...@@ -219,7 +219,8 @@ std::ostream& operator<<(std::ostream& os, const AsJSON& ad) {
class GraphVisualizer { class GraphVisualizer {
public: 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(); void Print();
...@@ -228,10 +229,8 @@ class GraphVisualizer { ...@@ -228,10 +229,8 @@ class GraphVisualizer {
private: private:
void PrintEdge(Node::Edge edge); void PrintEdge(Node::Edge edge);
Zone* zone_;
AllNodes all_; AllNodes all_;
std::ostream& os_; std::ostream& os_;
const Graph* const graph_;
DISALLOW_COPY_AND_ASSIGN(GraphVisualizer); DISALLOW_COPY_AND_ASSIGN(GraphVisualizer);
}; };
...@@ -390,14 +389,6 @@ void GraphVisualizer::Print() { ...@@ -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) { std::ostream& operator<<(std::ostream& os, const AsDOT& ad) {
Zone tmp_zone(ad.graph.zone()->isolate()); Zone tmp_zone(ad.graph.zone()->isolate());
GraphVisualizer(os, &tmp_zone, &ad.graph).Print(); GraphVisualizer(os, &tmp_zone, &ad.graph).Print();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment