summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/graph-visualizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/graph-visualizer.h')
-rw-r--r--deps/v8/src/compiler/graph-visualizer.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/deps/v8/src/compiler/graph-visualizer.h b/deps/v8/src/compiler/graph-visualizer.h
index d719540e23..1a971a55ed 100644
--- a/deps/v8/src/compiler/graph-visualizer.h
+++ b/deps/v8/src/compiler/graph-visualizer.h
@@ -24,14 +24,6 @@ class SourcePositionTable;
FILE* OpenVisualizerLogFile(CompilationInfo* info, const char* phase,
const char* suffix, const char* mode);
-struct AsDOT {
- explicit AsDOT(const Graph& g) : graph(g) {}
- const Graph& graph;
-};
-
-std::ostream& operator<<(std::ostream& os, const AsDOT& ad);
-
-
struct AsJSON {
AsJSON(const Graph& g, SourcePositionTable* p) : graph(g), positions(p) {}
const Graph& graph;
@@ -56,8 +48,8 @@ struct AsC1VCompilation {
struct AsC1V {
AsC1V(const char* phase, const Schedule* schedule,
- const SourcePositionTable* positions = NULL,
- const InstructionSequence* instructions = NULL)
+ const SourcePositionTable* positions = nullptr,
+ const InstructionSequence* instructions = nullptr)
: schedule_(schedule),
instructions_(instructions),
positions_(positions),
@@ -76,7 +68,6 @@ struct AsC1VRegisterAllocationData {
const RegisterAllocationData* data_;
};
-std::ostream& operator<<(std::ostream& os, const AsDOT& ad);
std::ostream& operator<<(std::ostream& os, const AsC1VCompilation& ac);
std::ostream& operator<<(std::ostream& os, const AsC1V& ac);
std::ostream& operator<<(std::ostream& os,