| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 // Visit the node and generate code, if any. | 191 // Visit the node and generate code, if any. |
| 192 void VisitNode(Node* node); | 192 void VisitNode(Node* node); |
| 193 | 193 |
| 194 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 194 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
| 195 MACHINE_OP_LIST(DECLARE_GENERATOR) | 195 MACHINE_OP_LIST(DECLARE_GENERATOR) |
| 196 #undef DECLARE_GENERATOR | 196 #undef DECLARE_GENERATOR |
| 197 | 197 |
| 198 void VisitFinish(Node* node); | 198 void VisitFinish(Node* node); |
| 199 void VisitParameter(Node* node); | 199 void VisitParameter(Node* node); |
| 200 void VisitIfException(Node* node); |
| 200 void VisitOsrValue(Node* node); | 201 void VisitOsrValue(Node* node); |
| 201 void VisitPhi(Node* node); | 202 void VisitPhi(Node* node); |
| 202 void VisitProjection(Node* node); | 203 void VisitProjection(Node* node); |
| 203 void VisitConstant(Node* node); | 204 void VisitConstant(Node* node); |
| 204 void VisitCall(Node* call, BasicBlock* handler); | 205 void VisitCall(Node* call, BasicBlock* handler); |
| 205 void VisitGoto(BasicBlock* target); | 206 void VisitGoto(BasicBlock* target); |
| 206 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 207 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
| 207 void VisitSwitch(Node* node, BasicBlock* default_branch, | 208 void VisitSwitch(Node* node, BasicBlock* default_branch, |
| 208 BasicBlock** case_branches, int32_t* case_values, | 209 BasicBlock** case_branches, int32_t* case_values, |
| 209 size_t case_count, int32_t min_value, int32_t max_value); | 210 size_t case_count, int32_t min_value, int32_t max_value); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 232 BoolVector defined_; | 233 BoolVector defined_; |
| 233 BoolVector used_; | 234 BoolVector used_; |
| 234 IntVector virtual_registers_; | 235 IntVector virtual_registers_; |
| 235 }; | 236 }; |
| 236 | 237 |
| 237 } // namespace compiler | 238 } // namespace compiler |
| 238 } // namespace internal | 239 } // namespace internal |
| 239 } // namespace v8 | 240 } // namespace v8 |
| 240 | 241 |
| 241 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 242 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |