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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 | 1010 |
1011 | 1011 |
1012 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 1012 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
1013 DCHECK(CpuFeatures::IsSupported(ARMv8)); | 1013 DCHECK(CpuFeatures::IsSupported(ARMv8)); |
1014 VisitRRFloat64(this, kArmVroundTiesAwayF64, node); | 1014 VisitRRFloat64(this, kArmVroundTiesAwayF64, node); |
1015 } | 1015 } |
1016 | 1016 |
1017 | 1017 |
1018 void InstructionSelector::VisitCall(Node* node) { | 1018 void InstructionSelector::VisitCall(Node* node) { |
1019 ArmOperandGenerator g(this); | 1019 ArmOperandGenerator g(this); |
1020 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); | 1020 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(node); |
1021 | 1021 |
1022 FrameStateDescriptor* frame_state_descriptor = NULL; | 1022 FrameStateDescriptor* frame_state_descriptor = NULL; |
1023 if (descriptor->NeedsFrameState()) { | 1023 if (descriptor->NeedsFrameState()) { |
1024 frame_state_descriptor = | 1024 frame_state_descriptor = |
1025 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); | 1025 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); |
1026 } | 1026 } |
1027 | 1027 |
1028 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); | 1028 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); |
1029 | 1029 |
1030 // Compute InstructionOperands for inputs and outputs. | 1030 // Compute InstructionOperands for inputs and outputs. |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 MachineOperatorBuilder::kFloat64Ceil | | 1333 MachineOperatorBuilder::kFloat64Ceil | |
1334 MachineOperatorBuilder::kFloat64RoundTruncate | | 1334 MachineOperatorBuilder::kFloat64RoundTruncate | |
1335 MachineOperatorBuilder::kFloat64RoundTiesAway; | 1335 MachineOperatorBuilder::kFloat64RoundTiesAway; |
1336 } | 1336 } |
1337 return flags; | 1337 return flags; |
1338 } | 1338 } |
1339 | 1339 |
1340 } // namespace compiler | 1340 } // namespace compiler |
1341 } // namespace internal | 1341 } // namespace internal |
1342 } // namespace v8 | 1342 } // namespace v8 |
OLD | NEW |