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 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 namespace compiler { | 10 namespace compiler { |
(...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1078 } | 1078 } |
1079 | 1079 |
1080 | 1080 |
1081 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 1081 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
1082 VisitRRFloat64(this, kArm64Float64RoundTiesAway, node); | 1082 VisitRRFloat64(this, kArm64Float64RoundTiesAway, node); |
1083 } | 1083 } |
1084 | 1084 |
1085 | 1085 |
1086 void InstructionSelector::VisitCall(Node* node) { | 1086 void InstructionSelector::VisitCall(Node* node) { |
1087 Arm64OperandGenerator g(this); | 1087 Arm64OperandGenerator g(this); |
1088 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); | 1088 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(node); |
1089 | 1089 |
1090 FrameStateDescriptor* frame_state_descriptor = NULL; | 1090 FrameStateDescriptor* frame_state_descriptor = NULL; |
1091 if (descriptor->NeedsFrameState()) { | 1091 if (descriptor->NeedsFrameState()) { |
1092 frame_state_descriptor = | 1092 frame_state_descriptor = |
1093 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); | 1093 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); |
1094 } | 1094 } |
1095 | 1095 |
1096 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); | 1096 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); |
1097 | 1097 |
1098 // Compute InstructionOperands for inputs and outputs. | 1098 // Compute InstructionOperands for inputs and outputs. |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1525 MachineOperatorBuilder::kFloat64Ceil | | 1525 MachineOperatorBuilder::kFloat64Ceil | |
1526 MachineOperatorBuilder::kFloat64RoundTruncate | | 1526 MachineOperatorBuilder::kFloat64RoundTruncate | |
1527 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1527 MachineOperatorBuilder::kFloat64RoundTiesAway | |
1528 MachineOperatorBuilder::kWord32ShiftIsSafe | | 1528 MachineOperatorBuilder::kWord32ShiftIsSafe | |
1529 MachineOperatorBuilder::kInt32DivIsSafe | | 1529 MachineOperatorBuilder::kInt32DivIsSafe | |
1530 MachineOperatorBuilder::kUint32DivIsSafe; | 1530 MachineOperatorBuilder::kUint32DivIsSafe; |
1531 } | 1531 } |
1532 } // namespace compiler | 1532 } // namespace compiler |
1533 } // namespace internal | 1533 } // namespace internal |
1534 } // namespace v8 | 1534 } // namespace v8 |
OLD | NEW |