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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 } | 915 } |
916 | 916 |
917 | 917 |
918 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 918 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
919 UNREACHABLE(); | 919 UNREACHABLE(); |
920 } | 920 } |
921 | 921 |
922 | 922 |
923 void InstructionSelector::VisitCall(Node* node) { | 923 void InstructionSelector::VisitCall(Node* node) { |
924 X64OperandGenerator g(this); | 924 X64OperandGenerator g(this); |
925 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); | 925 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(node); |
926 | 926 |
927 FrameStateDescriptor* frame_state_descriptor = NULL; | 927 FrameStateDescriptor* frame_state_descriptor = NULL; |
928 if (descriptor->NeedsFrameState()) { | 928 if (descriptor->NeedsFrameState()) { |
929 frame_state_descriptor = GetFrameStateDescriptor( | 929 frame_state_descriptor = GetFrameStateDescriptor( |
930 node->InputAt(static_cast<int>(descriptor->InputCount()))); | 930 node->InputAt(static_cast<int>(descriptor->InputCount()))); |
931 } | 931 } |
932 | 932 |
933 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); | 933 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); |
934 | 934 |
935 // Compute InstructionOperands for inputs and outputs. | 935 // Compute InstructionOperands for inputs and outputs. |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 MachineOperatorBuilder::kFloat64Ceil | | 1308 MachineOperatorBuilder::kFloat64Ceil | |
1309 MachineOperatorBuilder::kFloat64RoundTruncate | | 1309 MachineOperatorBuilder::kFloat64RoundTruncate | |
1310 MachineOperatorBuilder::kWord32ShiftIsSafe; | 1310 MachineOperatorBuilder::kWord32ShiftIsSafe; |
1311 } | 1311 } |
1312 return MachineOperatorBuilder::kNoFlags; | 1312 return MachineOperatorBuilder::kNoFlags; |
1313 } | 1313 } |
1314 | 1314 |
1315 } // namespace compiler | 1315 } // namespace compiler |
1316 } // namespace internal | 1316 } // namespace internal |
1317 } // namespace v8 | 1317 } // namespace v8 |
OLD | NEW |