OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_INSTRUCTION_SELECTOR_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 182 |
183 // Visit the node and generate code, if any. | 183 // Visit the node and generate code, if any. |
184 void VisitNode(Node* node); | 184 void VisitNode(Node* node); |
185 | 185 |
186 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 186 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
187 MACHINE_OP_LIST(DECLARE_GENERATOR) | 187 MACHINE_OP_LIST(DECLARE_GENERATOR) |
188 #undef DECLARE_GENERATOR | 188 #undef DECLARE_GENERATOR |
189 | 189 |
190 void VisitFinish(Node* node); | 190 void VisitFinish(Node* node); |
191 void VisitParameter(Node* node); | 191 void VisitParameter(Node* node); |
| 192 void VisitOsrValue(Node* node); |
192 void VisitPhi(Node* node); | 193 void VisitPhi(Node* node); |
193 void VisitProjection(Node* node); | 194 void VisitProjection(Node* node); |
194 void VisitConstant(Node* node); | 195 void VisitConstant(Node* node); |
195 void VisitCall(Node* call); | 196 void VisitCall(Node* call); |
196 void VisitGoto(BasicBlock* target); | 197 void VisitGoto(BasicBlock* target); |
197 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 198 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
198 void VisitReturn(Node* value); | 199 void VisitReturn(Node* value); |
199 void VisitThrow(Node* value); | 200 void VisitThrow(Node* value); |
200 void VisitDeoptimize(Node* deopt); | 201 void VisitDeoptimize(Node* deopt); |
201 | 202 |
(...skipping 18 matching lines...) Expand all Loading... |
220 BoolVector defined_; | 221 BoolVector defined_; |
221 BoolVector used_; | 222 BoolVector used_; |
222 IntVector virtual_registers_; | 223 IntVector virtual_registers_; |
223 }; | 224 }; |
224 | 225 |
225 } // namespace compiler | 226 } // namespace compiler |
226 } // namespace internal | 227 } // namespace internal |
227 } // namespace v8 | 228 } // namespace v8 |
228 | 229 |
229 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 230 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |