| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 void VisitControl(BasicBlock* block); | 195 void VisitControl(BasicBlock* block); |
| 196 | 196 |
| 197 // Visit the node and generate code, if any. | 197 // Visit the node and generate code, if any. |
| 198 void VisitNode(Node* node); | 198 void VisitNode(Node* node); |
| 199 | 199 |
| 200 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 200 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
| 201 MACHINE_OP_LIST(DECLARE_GENERATOR) | 201 MACHINE_OP_LIST(DECLARE_GENERATOR) |
| 202 #undef DECLARE_GENERATOR | 202 #undef DECLARE_GENERATOR |
| 203 | 203 |
| 204 void VisitFinishRegion(Node* node); | 204 void VisitFinishRegion(Node* node); |
| 205 void VisitGuard(Node* node); |
| 205 void VisitParameter(Node* node); | 206 void VisitParameter(Node* node); |
| 206 void VisitIfException(Node* node); | 207 void VisitIfException(Node* node); |
| 207 void VisitOsrValue(Node* node); | 208 void VisitOsrValue(Node* node); |
| 208 void VisitPhi(Node* node); | 209 void VisitPhi(Node* node); |
| 209 void VisitProjection(Node* node); | 210 void VisitProjection(Node* node); |
| 210 void VisitConstant(Node* node); | 211 void VisitConstant(Node* node); |
| 211 void VisitCall(Node* call, BasicBlock* handler = nullptr); | 212 void VisitCall(Node* call, BasicBlock* handler = nullptr); |
| 212 void VisitTailCall(Node* call); | 213 void VisitTailCall(Node* call); |
| 213 void VisitGoto(BasicBlock* target); | 214 void VisitGoto(BasicBlock* target); |
| 214 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 215 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 242 BoolVector defined_; | 243 BoolVector defined_; |
| 243 BoolVector used_; | 244 BoolVector used_; |
| 244 IntVector virtual_registers_; | 245 IntVector virtual_registers_; |
| 245 }; | 246 }; |
| 246 | 247 |
| 247 } // namespace compiler | 248 } // namespace compiler |
| 248 } // namespace internal | 249 } // namespace internal |
| 249 } // namespace v8 | 250 } // namespace v8 |
| 250 | 251 |
| 251 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 252 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |