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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 void VisitControl(BasicBlock* block); | 240 void VisitControl(BasicBlock* block); |
241 | 241 |
242 // Visit the node and generate code, if any. | 242 // Visit the node and generate code, if any. |
243 void VisitNode(Node* node); | 243 void VisitNode(Node* node); |
244 | 244 |
245 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 245 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
246 MACHINE_OP_LIST(DECLARE_GENERATOR) | 246 MACHINE_OP_LIST(DECLARE_GENERATOR) |
247 #undef DECLARE_GENERATOR | 247 #undef DECLARE_GENERATOR |
248 | 248 |
249 void VisitFinishRegion(Node* node); | 249 void VisitFinishRegion(Node* node); |
250 void VisitGuard(Node* node); | |
251 void VisitParameter(Node* node); | 250 void VisitParameter(Node* node); |
252 void VisitIfException(Node* node); | 251 void VisitIfException(Node* node); |
253 void VisitOsrValue(Node* node); | 252 void VisitOsrValue(Node* node); |
254 void VisitPhi(Node* node); | 253 void VisitPhi(Node* node); |
255 void VisitProjection(Node* node); | 254 void VisitProjection(Node* node); |
256 void VisitConstant(Node* node); | 255 void VisitConstant(Node* node); |
257 void VisitCall(Node* call, BasicBlock* handler = nullptr); | 256 void VisitCall(Node* call, BasicBlock* handler = nullptr); |
258 void VisitDeoptimizeIf(Node* node); | 257 void VisitDeoptimizeIf(Node* node); |
259 void VisitDeoptimizeUnless(Node* node); | 258 void VisitDeoptimizeUnless(Node* node); |
260 void VisitTailCall(Node* call); | 259 void VisitTailCall(Node* call); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 IntVector virtual_registers_; | 292 IntVector virtual_registers_; |
294 InstructionScheduler* scheduler_; | 293 InstructionScheduler* scheduler_; |
295 Frame* frame_; | 294 Frame* frame_; |
296 }; | 295 }; |
297 | 296 |
298 } // namespace compiler | 297 } // namespace compiler |
299 } // namespace internal | 298 } // namespace internal |
300 } // namespace v8 | 299 } // namespace v8 |
301 | 300 |
302 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 301 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |