| 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 #include "src/base/bits.h" | 5 #include "src/base/bits.h" |
| 6 #include "src/compiler/instruction-selector-impl.h" | 6 #include "src/compiler/instruction-selector-impl.h" |
| 7 #include "src/compiler/node-matchers.h" | 7 #include "src/compiler/node-matchers.h" |
| 8 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| (...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 } | 623 } |
| 624 | 624 |
| 625 | 625 |
| 626 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 626 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
| 627 UNREACHABLE(); | 627 UNREACHABLE(); |
| 628 } | 628 } |
| 629 | 629 |
| 630 | 630 |
| 631 void InstructionSelector::VisitCall(Node* node) { | 631 void InstructionSelector::VisitCall(Node* node) { |
| 632 Mips64OperandGenerator g(this); | 632 Mips64OperandGenerator g(this); |
| 633 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); | 633 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(node); |
| 634 | 634 |
| 635 FrameStateDescriptor* frame_state_descriptor = NULL; | 635 FrameStateDescriptor* frame_state_descriptor = NULL; |
| 636 if (descriptor->NeedsFrameState()) { | 636 if (descriptor->NeedsFrameState()) { |
| 637 frame_state_descriptor = | 637 frame_state_descriptor = |
| 638 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); | 638 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); |
| 639 } | 639 } |
| 640 | 640 |
| 641 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); | 641 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); |
| 642 | 642 |
| 643 // Compute InstructionOperands for inputs and outputs. | 643 // Compute InstructionOperands for inputs and outputs. |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1068 | 1068 |
| 1069 // static | 1069 // static |
| 1070 MachineOperatorBuilder::Flags | 1070 MachineOperatorBuilder::Flags |
| 1071 InstructionSelector::SupportedMachineOperatorFlags() { | 1071 InstructionSelector::SupportedMachineOperatorFlags() { |
| 1072 return MachineOperatorBuilder::kNoFlags; | 1072 return MachineOperatorBuilder::kNoFlags; |
| 1073 } | 1073 } |
| 1074 | 1074 |
| 1075 } // namespace compiler | 1075 } // namespace compiler |
| 1076 } // namespace internal | 1076 } // namespace internal |
| 1077 } // namespace v8 | 1077 } // namespace v8 |
| OLD | NEW |