| 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 <deque> | 8 #include <deque> |
| 9 | 9 |
| 10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 193 |
| 194 // Visit the node and generate code, if any. | 194 // Visit the node and generate code, if any. |
| 195 void VisitNode(Node* node); | 195 void VisitNode(Node* node); |
| 196 | 196 |
| 197 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 197 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
| 198 MACHINE_OP_LIST(DECLARE_GENERATOR) | 198 MACHINE_OP_LIST(DECLARE_GENERATOR) |
| 199 #undef DECLARE_GENERATOR | 199 #undef DECLARE_GENERATOR |
| 200 | 200 |
| 201 void VisitFinish(Node* node); | 201 void VisitFinish(Node* node); |
| 202 void VisitParameter(Node* node); | 202 void VisitParameter(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); | 207 void VisitCall(Node* call); |
| 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 VisitReturn(Node* value); | 210 void VisitReturn(Node* value); |
| 210 void VisitThrow(Node* value); | 211 void VisitThrow(Node* value); |
| 211 void VisitDeoptimize(Node* deopt); | 212 void VisitDeoptimize(Node* deopt); |
| 212 | 213 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 231 ZoneDeque<Instruction*> instructions_; | 232 ZoneDeque<Instruction*> instructions_; |
| 232 BoolVector defined_; | 233 BoolVector defined_; |
| 233 BoolVector used_; | 234 BoolVector used_; |
| 234 }; | 235 }; |
| 235 | 236 |
| 236 } // namespace compiler | 237 } // namespace compiler |
| 237 } // namespace internal | 238 } // namespace internal |
| 238 } // namespace v8 | 239 } // namespace v8 |
| 239 | 240 |
| 240 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 241 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |