Index: src/compiler/graph-visualizer.h |
diff --git a/src/compiler/graph-visualizer.h b/src/compiler/graph-visualizer.h |
index db92dc2a30315759a4d658bd812f00f7223f45e0..ccb22894b2d0f5c90f8a4ae4eab5ab02ccfc3152 100644 |
--- a/src/compiler/graph-visualizer.h |
+++ b/src/compiler/graph-visualizer.h |
@@ -5,13 +5,10 @@ |
#ifndef V8_COMPILER_GRAPH_VISUALIZER_H_ |
#define V8_COMPILER_GRAPH_VISUALIZER_H_ |
-#include "src/v8.h" |
+#include <iosfwd> |
namespace v8 { |
namespace internal { |
- |
-class OStream; |
- |
namespace compiler { |
class Graph; |
@@ -21,16 +18,18 @@ struct AsDOT { |
const Graph& graph; |
}; |
-OStream& operator<<(OStream& os, const AsDOT& ad); |
+std::ostream& operator<<(std::ostream& os, const AsDOT& ad); |
+ |
struct AsJSON { |
explicit AsJSON(const Graph& g) : graph(g) {} |
const Graph& graph; |
}; |
-OStream& operator<<(OStream& os, const AsJSON& ad); |
-} |
-} |
-} // namespace v8::internal::compiler |
+std::ostream& operator<<(std::ostream& os, const AsJSON& ad); |
+ |
+} // namespace compiler |
+} // namespace internal |
+} // namespace v8 |
#endif // V8_COMPILER_GRAPH_VISUALIZER_H_ |