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

Side by Side Diff: src/compiler/node.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, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/compiler/machine-type.cc ('k') | src/compiler/node.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_NODE_H_ 5 #ifndef V8_COMPILER_NODE_H_
6 #define V8_COMPILER_NODE_H_ 6 #define V8_COMPILER_NODE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 void Initialize(const Operator* op) { set_op(op); } 55 void Initialize(const Operator* op) { set_op(op); }
56 56
57 bool IsDead() const { return InputCount() > 0 && InputAt(0) == NULL; } 57 bool IsDead() const { return InputCount() > 0 && InputAt(0) == NULL; }
58 void Kill(); 58 void Kill();
59 59
60 void CollectProjections(ZoneVector<Node*>* projections); 60 void CollectProjections(ZoneVector<Node*>* projections);
61 Node* FindProjection(size_t projection_index); 61 Node* FindProjection(size_t projection_index);
62 }; 62 };
63 63
64 OStream& operator<<(OStream& os, const Node& n); 64 std::ostream& operator<<(std::ostream& os, const Node& n);
65 65
66 typedef GenericGraphVisit::NullNodeVisitor<NodeData, Node> NullNodeVisitor; 66 typedef GenericGraphVisit::NullNodeVisitor<NodeData, Node> NullNodeVisitor;
67 67
68 typedef std::set<Node*, std::less<Node*>, zone_allocator<Node*> > NodeSet; 68 typedef std::set<Node*, std::less<Node*>, zone_allocator<Node*> > NodeSet;
69 typedef NodeSet::iterator NodeSetIter; 69 typedef NodeSet::iterator NodeSetIter;
70 typedef NodeSet::reverse_iterator NodeSetRIter; 70 typedef NodeSet::reverse_iterator NodeSetRIter;
71 71
72 typedef ZoneVector<Node*> NodeVector; 72 typedef ZoneVector<Node*> NodeVector;
73 typedef NodeVector::iterator NodeVectorIter; 73 typedef NodeVector::iterator NodeVectorIter;
74 typedef NodeVector::const_iterator NodeVectorConstIter; 74 typedef NodeVector::const_iterator NodeVectorConstIter;
(...skipping 10 matching lines...) Expand all
85 template <typename T> 85 template <typename T>
86 static inline const T& OpParameter(const Node* node) { 86 static inline const T& OpParameter(const Node* node) {
87 return OpParameter<T>(node->op()); 87 return OpParameter<T>(node->op());
88 } 88 }
89 89
90 } // namespace compiler 90 } // namespace compiler
91 } // namespace internal 91 } // namespace internal
92 } // namespace v8 92 } // namespace v8
93 93
94 #endif // V8_COMPILER_NODE_H_ 94 #endif // V8_COMPILER_NODE_H_
OLDNEW
« no previous file with comments | « src/compiler/machine-type.cc ('k') | src/compiler/node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698