| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 void VisitParameter(Node* node); | 172 void VisitParameter(Node* node); |
| 173 void VisitPhi(Node* node); | 173 void VisitPhi(Node* node); |
| 174 void VisitProjection(Node* node); | 174 void VisitProjection(Node* node); |
| 175 void VisitConstant(Node* node); | 175 void VisitConstant(Node* node); |
| 176 void VisitCall(Node* call, BasicBlock* continuation, | 176 void VisitCall(Node* call, BasicBlock* continuation, |
| 177 BasicBlock* deoptimization); | 177 BasicBlock* deoptimization); |
| 178 void VisitGoto(BasicBlock* target); | 178 void VisitGoto(BasicBlock* target); |
| 179 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 179 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
| 180 void VisitReturn(Node* value); | 180 void VisitReturn(Node* value); |
| 181 void VisitThrow(Node* value); | 181 void VisitThrow(Node* value); |
| 182 void VisitDeoptimization(Node* deopt); | 182 void VisitDeoptimize(Node* deopt); |
| 183 | 183 |
| 184 // =========================================================================== | 184 // =========================================================================== |
| 185 | 185 |
| 186 Graph* graph() const { return sequence()->graph(); } | 186 Graph* graph() const { return sequence()->graph(); } |
| 187 Linkage* linkage() const { return sequence()->linkage(); } | 187 Linkage* linkage() const { return sequence()->linkage(); } |
| 188 Schedule* schedule() const { return sequence()->schedule(); } | 188 Schedule* schedule() const { return sequence()->schedule(); } |
| 189 InstructionSequence* sequence() const { return sequence_; } | 189 InstructionSequence* sequence() const { return sequence_; } |
| 190 Zone* instruction_zone() const { return sequence()->zone(); } | 190 Zone* instruction_zone() const { return sequence()->zone(); } |
| 191 Zone* zone() { return &zone_; } | 191 Zone* zone() { return &zone_; } |
| 192 | 192 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 203 Instructions instructions_; | 203 Instructions instructions_; |
| 204 BoolVector defined_; | 204 BoolVector defined_; |
| 205 BoolVector used_; | 205 BoolVector used_; |
| 206 }; | 206 }; |
| 207 | 207 |
| 208 } // namespace compiler | 208 } // namespace compiler |
| 209 } // namespace internal | 209 } // namespace internal |
| 210 } // namespace v8 | 210 } // namespace v8 |
| 211 | 211 |
| 212 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 212 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |