| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 void VisitBlock(BasicBlock* block); | 238 void VisitBlock(BasicBlock* block); |
| 239 | 239 |
| 240 // Visit the node for the control flow at the end of the block, generating | 240 // Visit the node for the control flow at the end of the block, generating |
| 241 // code if necessary. | 241 // code if necessary. |
| 242 void VisitControl(BasicBlock* block); | 242 void VisitControl(BasicBlock* block); |
| 243 | 243 |
| 244 // Visit the node and generate code, if any. | 244 // Visit the node and generate code, if any. |
| 245 void VisitNode(Node* node); | 245 void VisitNode(Node* node); |
| 246 | 246 |
| 247 // Visit the node and generate code for IEEE 754 functions. | 247 // Visit the node and generate code for IEEE 754 functions. |
| 248 void VisitFloat64Ieee754Binop(Node*, InstructionCode code); |
| 248 void VisitFloat64Ieee754Unop(Node*, InstructionCode code); | 249 void VisitFloat64Ieee754Unop(Node*, InstructionCode code); |
| 249 | 250 |
| 250 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 251 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
| 251 MACHINE_OP_LIST(DECLARE_GENERATOR) | 252 MACHINE_OP_LIST(DECLARE_GENERATOR) |
| 252 #undef DECLARE_GENERATOR | 253 #undef DECLARE_GENERATOR |
| 253 | 254 |
| 254 void VisitFinishRegion(Node* node); | 255 void VisitFinishRegion(Node* node); |
| 255 void VisitParameter(Node* node); | 256 void VisitParameter(Node* node); |
| 256 void VisitIfException(Node* node); | 257 void VisitIfException(Node* node); |
| 257 void VisitOsrValue(Node* node); | 258 void VisitOsrValue(Node* node); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 IntVector virtual_registers_; | 298 IntVector virtual_registers_; |
| 298 InstructionScheduler* scheduler_; | 299 InstructionScheduler* scheduler_; |
| 299 Frame* frame_; | 300 Frame* frame_; |
| 300 }; | 301 }; |
| 301 | 302 |
| 302 } // namespace compiler | 303 } // namespace compiler |
| 303 } // namespace internal | 304 } // namespace internal |
| 304 } // namespace v8 | 305 } // namespace v8 |
| 305 | 306 |
| 306 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 307 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |