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/compiler/instruction-selector-impl.h" | 5 #include "src/compiler/instruction-selector-impl.h" |
6 #include "src/compiler/node-matchers.h" | 6 #include "src/compiler/node-matchers.h" |
7 #include "src/compiler/node-properties-inl.h" | 7 #include "src/compiler/node-properties-inl.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 } | 712 } |
713 | 713 |
714 | 714 |
715 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 715 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
716 UNREACHABLE(); | 716 UNREACHABLE(); |
717 } | 717 } |
718 | 718 |
719 | 719 |
720 void InstructionSelector::VisitCall(Node* node) { | 720 void InstructionSelector::VisitCall(Node* node) { |
721 IA32OperandGenerator g(this); | 721 IA32OperandGenerator g(this); |
722 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); | 722 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(node); |
723 | 723 |
724 FrameStateDescriptor* frame_state_descriptor = NULL; | 724 FrameStateDescriptor* frame_state_descriptor = NULL; |
725 | 725 |
726 if (descriptor->NeedsFrameState()) { | 726 if (descriptor->NeedsFrameState()) { |
727 frame_state_descriptor = | 727 frame_state_descriptor = |
728 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); | 728 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); |
729 } | 729 } |
730 | 730 |
731 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); | 731 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); |
732 | 732 |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 return MachineOperatorBuilder::kFloat64Floor | | 1002 return MachineOperatorBuilder::kFloat64Floor | |
1003 MachineOperatorBuilder::kFloat64Ceil | | 1003 MachineOperatorBuilder::kFloat64Ceil | |
1004 MachineOperatorBuilder::kFloat64RoundTruncate | | 1004 MachineOperatorBuilder::kFloat64RoundTruncate | |
1005 MachineOperatorBuilder::kWord32ShiftIsSafe; | 1005 MachineOperatorBuilder::kWord32ShiftIsSafe; |
1006 } | 1006 } |
1007 return MachineOperatorBuilder::Flag::kNoFlags; | 1007 return MachineOperatorBuilder::Flag::kNoFlags; |
1008 } | 1008 } |
1009 } // namespace compiler | 1009 } // namespace compiler |
1010 } // namespace internal | 1010 } // namespace internal |
1011 } // namespace v8 | 1011 } // namespace v8 |
OLD | NEW |