OLD | NEW |
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 typedef NodeVector::const_iterator NodeVectorConstIter; | 75 typedef NodeVector::const_iterator NodeVectorConstIter; |
76 typedef NodeVector::reverse_iterator NodeVectorRIter; | 76 typedef NodeVector::reverse_iterator NodeVectorRIter; |
77 | 77 |
78 typedef ZoneVector<NodeVector> NodeVectorVector; | 78 typedef ZoneVector<NodeVector> NodeVectorVector; |
79 typedef NodeVectorVector::iterator NodeVectorVectorIter; | 79 typedef NodeVectorVector::iterator NodeVectorVectorIter; |
80 typedef NodeVectorVector::reverse_iterator NodeVectorVectorRIter; | 80 typedef NodeVectorVector::reverse_iterator NodeVectorVectorRIter; |
81 | 81 |
82 typedef Node::Uses::iterator UseIter; | 82 typedef Node::Uses::iterator UseIter; |
83 typedef Node::Inputs::iterator InputIter; | 83 typedef Node::Inputs::iterator InputIter; |
84 | 84 |
| 85 typedef GenericEdge<Node> Edge; |
| 86 |
85 // Helper to extract parameters from Operator1<*> nodes. | 87 // Helper to extract parameters from Operator1<*> nodes. |
86 template <typename T> | 88 template <typename T> |
87 static inline const T& OpParameter(const Node* node) { | 89 static inline const T& OpParameter(const Node* node) { |
88 return OpParameter<T>(node->op()); | 90 return OpParameter<T>(node->op()); |
89 } | 91 } |
90 | 92 |
| 93 |
91 } // namespace compiler | 94 } // namespace compiler |
92 } // namespace internal | 95 } // namespace internal |
93 } // namespace v8 | 96 } // namespace v8 |
94 | 97 |
95 #endif // V8_COMPILER_NODE_H_ | 98 #endif // V8_COMPILER_NODE_H_ |
OLD | NEW |