Index: test/unittests/compiler/control-equivalence-unittest.cc |
diff --git a/test/unittests/compiler/control-equivalence-unittest.cc b/test/unittests/compiler/control-equivalence-unittest.cc |
index d383bf7c432a08afe7427898cd122eb7b57394ce..a87f760c82022270298b0d8085f7559bbff89c16 100644 |
--- a/test/unittests/compiler/control-equivalence-unittest.cc |
+++ b/test/unittests/compiler/control-equivalence-unittest.cc |
@@ -6,6 +6,7 @@ |
#include "src/compiler/control-equivalence.h" |
#include "src/compiler/graph-visualizer.h" |
#include "src/compiler/node-properties.h" |
+#include "src/compiler/source-position.h" |
#include "src/zone-containers.h" |
#include "test/unittests/compiler/graph-unittest.h" |
@@ -30,7 +31,8 @@ class ControlEquivalenceTest : public GraphTest { |
graph()->SetEnd(graph()->NewNode(common()->End(1), node)); |
if (FLAG_trace_turbo) { |
OFStream os(stdout); |
- os << AsDOT(*graph()); |
+ SourcePositionTable table(graph()); |
+ os << AsJSON(*graph(), &table); |
} |
ControlEquivalence equivalence(zone(), graph()); |
equivalence.Run(node); |