| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 122 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
| 123 MACHINE_OP_LIST(DECLARE_GENERATOR) | 123 MACHINE_OP_LIST(DECLARE_GENERATOR) |
| 124 #undef DECLARE_GENERATOR | 124 #undef DECLARE_GENERATOR |
| 125 | 125 |
| 126 void VisitWord32Test(Node* node, FlagsContinuation* cont); | 126 void VisitWord32Test(Node* node, FlagsContinuation* cont); |
| 127 void VisitWord64Test(Node* node, FlagsContinuation* cont); | 127 void VisitWord64Test(Node* node, FlagsContinuation* cont); |
| 128 void VisitWord32Compare(Node* node, FlagsContinuation* cont); | 128 void VisitWord32Compare(Node* node, FlagsContinuation* cont); |
| 129 void VisitWord64Compare(Node* node, FlagsContinuation* cont); | 129 void VisitWord64Compare(Node* node, FlagsContinuation* cont); |
| 130 void VisitFloat64Compare(Node* node, FlagsContinuation* cont); | 130 void VisitFloat64Compare(Node* node, FlagsContinuation* cont); |
| 131 | 131 |
| 132 void VisitParameter(Node* node); |
| 132 void VisitPhi(Node* node); | 133 void VisitPhi(Node* node); |
| 133 void VisitParameter(Node* node); | 134 void VisitProjection(Node* node); |
| 134 void VisitConstant(Node* node); | 135 void VisitConstant(Node* node); |
| 135 void VisitCall(Node* call, BasicBlock* continuation, | 136 void VisitCall(Node* call, BasicBlock* continuation, |
| 136 BasicBlock* deoptimization); | 137 BasicBlock* deoptimization); |
| 137 void VisitGoto(BasicBlock* target); | 138 void VisitGoto(BasicBlock* target); |
| 138 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 139 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
| 139 void VisitReturn(Node* value); | 140 void VisitReturn(Node* value); |
| 140 void VisitThrow(Node* value); | 141 void VisitThrow(Node* value); |
| 141 void VisitDeoptimization(Node* deopt); | 142 void VisitDeoptimization(Node* deopt); |
| 142 | 143 |
| 143 // =========================================================================== | 144 // =========================================================================== |
| (...skipping 16 matching lines...) Expand all Loading... |
| 160 BasicBlock* current_block_; | 161 BasicBlock* current_block_; |
| 161 Instructions instructions_; | 162 Instructions instructions_; |
| 162 BoolVector used_; | 163 BoolVector used_; |
| 163 }; | 164 }; |
| 164 | 165 |
| 165 } // namespace compiler | 166 } // namespace compiler |
| 166 } // namespace internal | 167 } // namespace internal |
| 167 } // namespace v8 | 168 } // namespace v8 |
| 168 | 169 |
| 169 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 170 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |