| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 195 |
| 196 void VisitFinish(Node* node); | 196 void VisitFinish(Node* node); |
| 197 void VisitParameter(Node* node); | 197 void VisitParameter(Node* node); |
| 198 void VisitOsrValue(Node* node); | 198 void VisitOsrValue(Node* node); |
| 199 void VisitPhi(Node* node); | 199 void VisitPhi(Node* node); |
| 200 void VisitProjection(Node* node); | 200 void VisitProjection(Node* node); |
| 201 void VisitConstant(Node* node); | 201 void VisitConstant(Node* node); |
| 202 void VisitCall(Node* call); | 202 void VisitCall(Node* call); |
| 203 void VisitGoto(BasicBlock* target); | 203 void VisitGoto(BasicBlock* target); |
| 204 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 204 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
| 205 void VisitSwitch(Node* node, BasicBlock** branches, size_t branch_count); |
| 205 void VisitReturn(Node* value); | 206 void VisitReturn(Node* value); |
| 206 void VisitThrow(Node* value); | 207 void VisitThrow(Node* value); |
| 207 void VisitDeoptimize(Node* deopt); | 208 void VisitDeoptimize(Node* deopt); |
| 208 | 209 |
| 209 // =========================================================================== | 210 // =========================================================================== |
| 210 | 211 |
| 211 Schedule* schedule() const { return schedule_; } | 212 Schedule* schedule() const { return schedule_; } |
| 212 Linkage* linkage() const { return linkage_; } | 213 Linkage* linkage() const { return linkage_; } |
| 213 InstructionSequence* sequence() const { return sequence_; } | 214 InstructionSequence* sequence() const { return sequence_; } |
| 214 Zone* instruction_zone() const { return sequence()->zone(); } | 215 Zone* instruction_zone() const { return sequence()->zone(); } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 227 BoolVector defined_; | 228 BoolVector defined_; |
| 228 BoolVector used_; | 229 BoolVector used_; |
| 229 IntVector virtual_registers_; | 230 IntVector virtual_registers_; |
| 230 }; | 231 }; |
| 231 | 232 |
| 232 } // namespace compiler | 233 } // namespace compiler |
| 233 } // namespace internal | 234 } // namespace internal |
| 234 } // namespace v8 | 235 } // namespace v8 |
| 235 | 236 |
| 236 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 237 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |