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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 MACHINE_OP_LIST(DECLARE_GENERATOR) | 197 MACHINE_OP_LIST(DECLARE_GENERATOR) |
198 #undef DECLARE_GENERATOR | 198 #undef DECLARE_GENERATOR |
199 | 199 |
200 void VisitFinish(Node* node); | 200 void VisitFinish(Node* node); |
201 void VisitParameter(Node* node); | 201 void VisitParameter(Node* node); |
202 void VisitIfException(Node* node); | 202 void VisitIfException(Node* node); |
203 void VisitOsrValue(Node* node); | 203 void VisitOsrValue(Node* node); |
204 void VisitPhi(Node* node); | 204 void VisitPhi(Node* node); |
205 void VisitProjection(Node* node); | 205 void VisitProjection(Node* node); |
206 void VisitConstant(Node* node); | 206 void VisitConstant(Node* node); |
207 void VisitCall(Node* call, BasicBlock* handler); | 207 void VisitCall(Node* call, BasicBlock* handler, CallMode call_mode); |
208 void VisitGoto(BasicBlock* target); | 208 void VisitGoto(BasicBlock* target); |
209 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 209 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
210 void VisitSwitch(Node* node, const SwitchInfo& sw); | 210 void VisitSwitch(Node* node, const SwitchInfo& sw); |
211 void VisitDeoptimize(Node* value); | 211 void VisitDeoptimize(Node* value); |
212 void VisitReturn(Node* value); | 212 void VisitReturn(Node* value); |
213 void VisitThrow(Node* value); | 213 void VisitThrow(Node* value); |
214 | 214 |
215 // =========================================================================== | 215 // =========================================================================== |
216 | 216 |
217 Schedule* schedule() const { return schedule_; } | 217 Schedule* schedule() const { return schedule_; } |
(...skipping 15 matching lines...) Expand all Loading... |
233 BoolVector defined_; | 233 BoolVector defined_; |
234 BoolVector used_; | 234 BoolVector used_; |
235 IntVector virtual_registers_; | 235 IntVector virtual_registers_; |
236 }; | 236 }; |
237 | 237 |
238 } // namespace compiler | 238 } // namespace compiler |
239 } // namespace internal | 239 } // namespace internal |
240 } // namespace v8 | 240 } // namespace v8 |
241 | 241 |
242 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 242 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |