| Index: test/cctest/compiler/test-graph-visualizer.cc
|
| diff --git a/test/cctest/compiler/test-graph-visualizer.cc b/test/cctest/compiler/test-graph-visualizer.cc
|
| index 702e99db154e46ae063241e46f33e030e9a3cc3b..2f26bcbf88576bd3653bbc0b855ed5bc7ae6340b 100644
|
| --- a/test/cctest/compiler/test-graph-visualizer.cc
|
| +++ b/test/cctest/compiler/test-graph-visualizer.cc
|
| @@ -7,7 +7,6 @@
|
|
|
| #include "src/compiler/common-operator.h"
|
| #include "src/compiler/graph.h"
|
| -#include "src/compiler/graph-visualizer.h"
|
| #include "src/compiler/js-operator.h"
|
| #include "src/compiler/machine-operator.h"
|
| #include "src/compiler/node.h"
|
| @@ -16,6 +15,7 @@
|
| #include "src/compiler/scheduler.h"
|
| #include "src/compiler/source-position.h"
|
| #include "src/compiler/verifier.h"
|
| +#include "src/compiler/visualizer.h"
|
|
|
| using namespace v8::internal;
|
| using namespace v8::internal::compiler;
|
| @@ -35,7 +35,7 @@ TEST(NodeWithNullInputReachableFromEnd) {
|
| OFStream os(stdout);
|
| os << AsDOT(graph);
|
| SourcePositionTable table(&graph);
|
| - os << AsJSON(graph, &table);
|
| + os << GraphAsJSON(graph, &table);
|
| }
|
|
|
|
|
| @@ -54,7 +54,7 @@ TEST(NodeWithNullControlReachableFromEnd) {
|
| OFStream os(stdout);
|
| os << AsDOT(graph);
|
| SourcePositionTable table(&graph);
|
| - os << AsJSON(graph, &table);
|
| + os << GraphAsJSON(graph, &table);
|
| }
|
|
|
|
|
| @@ -73,7 +73,7 @@ TEST(NodeWithNullInputReachableFromStart) {
|
| OFStream os(stdout);
|
| os << AsDOT(graph);
|
| SourcePositionTable table(&graph);
|
| - os << AsJSON(graph, &table);
|
| + os << GraphAsJSON(graph, &table);
|
| }
|
|
|
|
|
| @@ -91,5 +91,5 @@ TEST(NodeWithNullControlReachableFromStart) {
|
| OFStream os(stdout);
|
| os << AsDOT(graph);
|
| SourcePositionTable table(&graph);
|
| - os << AsJSON(graph, &table);
|
| + os << GraphAsJSON(graph, &table);
|
| }
|
|
|