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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 void VisitDeoptimizeIf(Node* node); | 289 void VisitDeoptimizeIf(Node* node); |
290 void VisitDeoptimizeUnless(Node* node); | 290 void VisitDeoptimizeUnless(Node* node); |
291 void VisitTailCall(Node* call); | 291 void VisitTailCall(Node* call); |
292 void VisitGoto(BasicBlock* target); | 292 void VisitGoto(BasicBlock* target); |
293 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 293 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
294 void VisitSwitch(Node* node, const SwitchInfo& sw); | 294 void VisitSwitch(Node* node, const SwitchInfo& sw); |
295 void VisitDeoptimize(DeoptimizeKind kind, DeoptimizeReason reason, | 295 void VisitDeoptimize(DeoptimizeKind kind, DeoptimizeReason reason, |
296 Node* value); | 296 Node* value); |
297 void VisitReturn(Node* ret); | 297 void VisitReturn(Node* ret); |
298 void VisitThrow(Node* value); | 298 void VisitThrow(Node* value); |
| 299 void VisitRetain(Node* node); |
299 | 300 |
300 void EmitPrepareArguments(ZoneVector<compiler::PushParameter>* arguments, | 301 void EmitPrepareArguments(ZoneVector<compiler::PushParameter>* arguments, |
301 const CallDescriptor* descriptor, Node* node); | 302 const CallDescriptor* descriptor, Node* node); |
302 | 303 |
303 void EmitIdentity(Node* node); | 304 void EmitIdentity(Node* node); |
304 bool CanProduceSignalingNaN(Node* node); | 305 bool CanProduceSignalingNaN(Node* node); |
305 | 306 |
306 // =========================================================================== | 307 // =========================================================================== |
307 | 308 |
308 Schedule* schedule() const { return schedule_; } | 309 Schedule* schedule() const { return schedule_; } |
(...skipping 19 matching lines...) Expand all Loading... |
328 IntVector virtual_registers_; | 329 IntVector virtual_registers_; |
329 InstructionScheduler* scheduler_; | 330 InstructionScheduler* scheduler_; |
330 Frame* frame_; | 331 Frame* frame_; |
331 }; | 332 }; |
332 | 333 |
333 } // namespace compiler | 334 } // namespace compiler |
334 } // namespace internal | 335 } // namespace internal |
335 } // namespace v8 | 336 } // namespace v8 |
336 | 337 |
337 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 338 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |