Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Unified Diff: src/hydrogen-types.h

Issue 618643002: Replace OStream with std::ostream. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/hydrogen-types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-types.h
diff --git a/src/hydrogen-types.h b/src/hydrogen-types.h
index a42cba578ee2fc268dfa4330aa59d9ceffb97eef..70870dd90a6ecf69670e3eb660bd3ae435ece0c5 100644
--- a/src/hydrogen-types.h
+++ b/src/hydrogen-types.h
@@ -6,6 +6,7 @@
#define HYDROGEN_TYPES_H_
#include <climits>
+#include <iosfwd>
#include "src/base/macros.h"
@@ -15,7 +16,6 @@ namespace internal {
// Forward declarations.
template <typename T> class Handle;
class Object;
-class OStream;
#define HTYPE_LIST(V) \
V(Any, 0x0) /* 0000 0000 0000 0000 */ \
@@ -65,7 +65,7 @@ class HType FINAL {
static HType FromType(typename T::TypeHandle type) WARN_UNUSED_RESULT;
static HType FromValue(Handle<Object> value) WARN_UNUSED_RESULT;
- friend OStream& operator<<(OStream& os, const HType& t);
+ friend std::ostream& operator<<(std::ostream& os, const HType& t);
private:
enum Kind {
@@ -84,7 +84,7 @@ class HType FINAL {
};
-OStream& operator<<(OStream& os, const HType& t);
+std::ostream& operator<<(std::ostream& os, const HType& t);
} } // namespace v8::internal
#endif // HYDROGEN_TYPES_H_
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/hydrogen-types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698