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) {
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();
......
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