| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 | 192 |
| 193 // Visit the node and generate code, if any. | 193 // Visit the node and generate code, if any. |
| 194 void VisitNode(Node* node); | 194 void VisitNode(Node* node); |
| 195 | 195 |
| 196 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 196 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
| 197 MACHINE_OP_LIST(DECLARE_GENERATOR) | 197 MACHINE_OP_LIST(DECLARE_GENERATOR) |
| 198 #undef DECLARE_GENERATOR | 198 #undef DECLARE_GENERATOR |
| 199 | 199 |
| 200 void VisitFinish(Node* node); | 200 void VisitFinish(Node* node); |
| 201 void VisitParameter(Node* node); | 201 void VisitParameter(Node* node); |
| 202 void VisitIfException(Node* node); |
| 202 void VisitOsrValue(Node* node); | 203 void VisitOsrValue(Node* node); |
| 203 void VisitPhi(Node* node); | 204 void VisitPhi(Node* node); |
| 204 void VisitProjection(Node* node); | 205 void VisitProjection(Node* node); |
| 205 void VisitConstant(Node* node); | 206 void VisitConstant(Node* node); |
| 206 void VisitCall(Node* call, BasicBlock* handler); | 207 void VisitCall(Node* call, BasicBlock* handler); |
| 207 void VisitGoto(BasicBlock* target); | 208 void VisitGoto(BasicBlock* target); |
| 208 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 209 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
| 209 void VisitSwitch(Node* node, const SwitchInfo& sw); | 210 void VisitSwitch(Node* node, const SwitchInfo& sw); |
| 210 void VisitDeoptimize(Node* value); | 211 void VisitDeoptimize(Node* value); |
| 211 void VisitReturn(Node* value); | 212 void VisitReturn(Node* value); |
| (...skipping 20 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 |