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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 void VisitIfException(Node* node); | 206 void VisitIfException(Node* node); |
207 void VisitOsrValue(Node* node); | 207 void VisitOsrValue(Node* node); |
208 void VisitPhi(Node* node); | 208 void VisitPhi(Node* node); |
209 void VisitProjection(Node* node); | 209 void VisitProjection(Node* node); |
210 void VisitConstant(Node* node); | 210 void VisitConstant(Node* node); |
211 void VisitCall(Node* call, BasicBlock* handler = nullptr); | 211 void VisitCall(Node* call, BasicBlock* handler = nullptr); |
212 void VisitTailCall(Node* call); | 212 void VisitTailCall(Node* call); |
213 void VisitGoto(BasicBlock* target); | 213 void VisitGoto(BasicBlock* target); |
214 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 214 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
215 void VisitSwitch(Node* node, const SwitchInfo& sw); | 215 void VisitSwitch(Node* node, const SwitchInfo& sw); |
216 void VisitDeoptimize(Node* value); | 216 void VisitDeoptimize(DeoptimizeKind kind, Node* value); |
217 void VisitReturn(Node* ret); | 217 void VisitReturn(Node* ret); |
218 void VisitThrow(Node* value); | 218 void VisitThrow(Node* value); |
219 | 219 |
220 void EmitPrepareArguments(NodeVector* arguments, | 220 void EmitPrepareArguments(NodeVector* arguments, |
221 const CallDescriptor* descriptor, Node* node); | 221 const CallDescriptor* descriptor, Node* node); |
222 | 222 |
223 // =========================================================================== | 223 // =========================================================================== |
224 | 224 |
225 Schedule* schedule() const { return schedule_; } | 225 Schedule* schedule() const { return schedule_; } |
226 Linkage* linkage() const { return linkage_; } | 226 Linkage* linkage() const { return linkage_; } |
(...skipping 15 matching lines...) Expand all Loading... |
242 BoolVector defined_; | 242 BoolVector defined_; |
243 BoolVector used_; | 243 BoolVector used_; |
244 IntVector virtual_registers_; | 244 IntVector virtual_registers_; |
245 }; | 245 }; |
246 | 246 |
247 } // namespace compiler | 247 } // namespace compiler |
248 } // namespace internal | 248 } // namespace internal |
249 } // namespace v8 | 249 } // namespace v8 |
250 | 250 |
251 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 251 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |