Index: src/compiler/schedule.h |
diff --git a/src/compiler/schedule.h b/src/compiler/schedule.h |
index 6954b75c51bb0af9ec91f04240e09fcf399f40eb..7def37f44597279da04c7a6404803dc60b5d5c31 100644 |
--- a/src/compiler/schedule.h |
+++ b/src/compiler/schedule.h |
@@ -5,6 +5,7 @@ |
#ifndef V8_COMPILER_SCHEDULE_H_ |
#define V8_COMPILER_SCHEDULE_H_ |
+#include <iosfwd> |
#include <vector> |
#include "src/v8.h" |
@@ -164,8 +165,8 @@ class BasicBlock FINAL : public ZoneObject { |
DISALLOW_COPY_AND_ASSIGN(BasicBlock); |
}; |
-OStream& operator<<(OStream& os, const BasicBlock::Control& c); |
-OStream& operator<<(OStream& os, const BasicBlock::Id& id); |
+std::ostream& operator<<(std::ostream& os, const BasicBlock::Control& c); |
+std::ostream& operator<<(std::ostream& os, const BasicBlock::Id& id); |
typedef ZoneVector<BasicBlock*> BasicBlockVector; |
typedef BasicBlockVector::iterator BasicBlockVectorIter; |
@@ -240,9 +241,10 @@ class Schedule FINAL : public ZoneObject { |
BasicBlock* end_; |
}; |
-OStream& operator<<(OStream& os, const Schedule& s); |
-} |
-} |
-} // namespace v8::internal::compiler |
+std::ostream& operator<<(std::ostream& os, const Schedule& s); |
+ |
+} // namespace compiler |
+} // namespace internal |
+} // namespace v8 |
#endif // V8_COMPILER_SCHEDULE_H_ |