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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 void VisitCall(Node* call, BasicBlock* handler = nullptr); | 258 void VisitCall(Node* call, BasicBlock* handler = nullptr); |
259 void VisitDeoptimizeIf(Node* node); | 259 void VisitDeoptimizeIf(Node* node); |
260 void VisitDeoptimizeUnless(Node* node); | 260 void VisitDeoptimizeUnless(Node* node); |
261 void VisitTailCall(Node* call); | 261 void VisitTailCall(Node* call); |
262 void VisitGoto(BasicBlock* target); | 262 void VisitGoto(BasicBlock* target); |
263 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 263 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
264 void VisitSwitch(Node* node, const SwitchInfo& sw); | 264 void VisitSwitch(Node* node, const SwitchInfo& sw); |
265 void VisitDeoptimize(DeoptimizeKind kind, Node* value); | 265 void VisitDeoptimize(DeoptimizeKind kind, Node* value); |
266 void VisitReturn(Node* ret); | 266 void VisitReturn(Node* ret); |
267 void VisitThrow(Node* value); | 267 void VisitThrow(Node* value); |
268 void VisitDebugBreak(); | |
269 | 268 |
270 void EmitPrepareArguments(ZoneVector<compiler::PushParameter>* arguments, | 269 void EmitPrepareArguments(ZoneVector<compiler::PushParameter>* arguments, |
271 const CallDescriptor* descriptor, Node* node); | 270 const CallDescriptor* descriptor, Node* node); |
272 | 271 |
273 // =========================================================================== | 272 // =========================================================================== |
274 | 273 |
275 Schedule* schedule() const { return schedule_; } | 274 Schedule* schedule() const { return schedule_; } |
276 Linkage* linkage() const { return linkage_; } | 275 Linkage* linkage() const { return linkage_; } |
277 InstructionSequence* sequence() const { return sequence_; } | 276 InstructionSequence* sequence() const { return sequence_; } |
278 Zone* instruction_zone() const { return sequence()->zone(); } | 277 Zone* instruction_zone() const { return sequence()->zone(); } |
(...skipping 16 matching lines...) Expand all Loading... |
295 IntVector virtual_registers_; | 294 IntVector virtual_registers_; |
296 InstructionScheduler* scheduler_; | 295 InstructionScheduler* scheduler_; |
297 Frame* frame_; | 296 Frame* frame_; |
298 }; | 297 }; |
299 | 298 |
300 } // namespace compiler | 299 } // namespace compiler |
301 } // namespace internal | 300 } // namespace internal |
302 } // namespace v8 | 301 } // namespace v8 |
303 | 302 |
304 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 303 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |