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