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

Unified Diff: src/compiler/node.cc

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/compiler/node.h ('k') | src/compiler/operator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/node.cc
diff --git a/src/compiler/node.cc b/src/compiler/node.cc
index 7df736ee129471af9f291adf32d1163395e2c599..a64c8816dcbec6700d8ddf37d8f6a2b469aa4eb8 100644
--- a/src/compiler/node.cc
+++ b/src/compiler/node.cc
@@ -42,10 +42,12 @@ Node* Node::FindProjection(size_t projection_index) {
}
-OStream& operator<<(OStream& os, const Operator& op) { return op.PrintTo(os); }
+std::ostream& operator<<(std::ostream& os, const Operator& op) {
+ return op.PrintTo(os);
+}
-OStream& operator<<(OStream& os, const Node& n) {
+std::ostream& operator<<(std::ostream& os, const Node& n) {
os << n.id() << ": " << *n.op();
if (n.op()->InputCount() != 0) {
os << "(";
« no previous file with comments | « src/compiler/node.h ('k') | src/compiler/operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698