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

Side by Side Diff: src/compiler/node.h

Issue 684413003: Revert "[turbofan] Fix select lowering." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | « no previous file | src/compiler/select-lowering.h » ('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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 }; 61 };
62 62
63 std::ostream& operator<<(std::ostream& os, const Node& n); 63 std::ostream& operator<<(std::ostream& os, const Node& n);
64 64
65 typedef GenericGraphVisit::NullNodeVisitor<NodeData, Node> NullNodeVisitor; 65 typedef GenericGraphVisit::NullNodeVisitor<NodeData, Node> NullNodeVisitor;
66 66
67 typedef std::set<Node*, std::less<Node*>, zone_allocator<Node*> > NodeSet; 67 typedef std::set<Node*, std::less<Node*>, zone_allocator<Node*> > NodeSet;
68 typedef NodeSet::iterator NodeSetIter; 68 typedef NodeSet::iterator NodeSetIter;
69 typedef NodeSet::reverse_iterator NodeSetRIter; 69 typedef NodeSet::reverse_iterator NodeSetRIter;
70 70
71 typedef ZoneDeque<Node*> NodeDeque;
72
73 typedef ZoneVector<Node*> NodeVector; 71 typedef ZoneVector<Node*> NodeVector;
74 typedef NodeVector::iterator NodeVectorIter; 72 typedef NodeVector::iterator NodeVectorIter;
75 typedef NodeVector::const_iterator NodeVectorConstIter; 73 typedef NodeVector::const_iterator NodeVectorConstIter;
76 typedef NodeVector::reverse_iterator NodeVectorRIter; 74 typedef NodeVector::reverse_iterator NodeVectorRIter;
77 75
78 typedef ZoneVector<NodeVector> NodeVectorVector; 76 typedef ZoneVector<NodeVector> NodeVectorVector;
79 typedef NodeVectorVector::iterator NodeVectorVectorIter; 77 typedef NodeVectorVector::iterator NodeVectorVectorIter;
80 typedef NodeVectorVector::reverse_iterator NodeVectorVectorRIter; 78 typedef NodeVectorVector::reverse_iterator NodeVectorVectorRIter;
81 79
82 typedef Node::Uses::iterator UseIter; 80 typedef Node::Uses::iterator UseIter;
83 typedef Node::Inputs::iterator InputIter; 81 typedef Node::Inputs::iterator InputIter;
84 82
85 // Helper to extract parameters from Operator1<*> nodes. 83 // Helper to extract parameters from Operator1<*> nodes.
86 template <typename T> 84 template <typename T>
87 static inline const T& OpParameter(const Node* node) { 85 static inline const T& OpParameter(const Node* node) {
88 return OpParameter<T>(node->op()); 86 return OpParameter<T>(node->op());
89 } 87 }
90 88
91 } // namespace compiler 89 } // namespace compiler
92 } // namespace internal 90 } // namespace internal
93 } // namespace v8 91 } // namespace v8
94 92
95 #endif // V8_COMPILER_NODE_H_ 93 #endif // V8_COMPILER_NODE_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/select-lowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698