| 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.h" | 5 #include "src/compiler/instruction-selector.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "src/base/adapters.h" | 9 #include "src/base/adapters.h" |
| 10 #include "src/compiler/instruction-selector-impl.h" | 10 #include "src/compiler/instruction-selector-impl.h" |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 case IrOpcode::kChangeFloat32ToFloat64: | 840 case IrOpcode::kChangeFloat32ToFloat64: |
| 841 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node); | 841 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node); |
| 842 case IrOpcode::kChangeInt32ToFloat64: | 842 case IrOpcode::kChangeInt32ToFloat64: |
| 843 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); | 843 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); |
| 844 case IrOpcode::kChangeUint32ToFloat64: | 844 case IrOpcode::kChangeUint32ToFloat64: |
| 845 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); | 845 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); |
| 846 case IrOpcode::kChangeFloat64ToInt32: | 846 case IrOpcode::kChangeFloat64ToInt32: |
| 847 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); | 847 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); |
| 848 case IrOpcode::kChangeFloat64ToUint32: | 848 case IrOpcode::kChangeFloat64ToUint32: |
| 849 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); | 849 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); |
| 850 case IrOpcode::kTruncateFloat32ToInt64: | |
| 851 return MarkAsWord64(node), VisitTruncateFloat32ToInt64(node); | |
| 852 case IrOpcode::kTruncateFloat64ToInt64: | 850 case IrOpcode::kTruncateFloat64ToInt64: |
| 853 return MarkAsWord64(node), VisitTruncateFloat64ToInt64(node); | 851 return MarkAsWord64(node), VisitTruncateFloat64ToInt64(node); |
| 854 case IrOpcode::kTruncateFloat64ToUint64: | 852 case IrOpcode::kTruncateFloat64ToUint64: |
| 855 return MarkAsWord64(node), VisitTruncateFloat64ToUint64(node); | 853 return MarkAsWord64(node), VisitTruncateFloat64ToUint64(node); |
| 856 case IrOpcode::kChangeInt32ToInt64: | 854 case IrOpcode::kChangeInt32ToInt64: |
| 857 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); | 855 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); |
| 858 case IrOpcode::kChangeUint32ToUint64: | 856 case IrOpcode::kChangeUint32ToUint64: |
| 859 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); | 857 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); |
| 860 case IrOpcode::kTruncateFloat64ToFloat32: | 858 case IrOpcode::kTruncateFloat64ToFloat32: |
| 861 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node); | 859 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node); |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1090 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { | 1088 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { |
| 1091 UNIMPLEMENTED(); | 1089 UNIMPLEMENTED(); |
| 1092 } | 1090 } |
| 1093 | 1091 |
| 1094 | 1092 |
| 1095 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { | 1093 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { |
| 1096 UNIMPLEMENTED(); | 1094 UNIMPLEMENTED(); |
| 1097 } | 1095 } |
| 1098 | 1096 |
| 1099 | 1097 |
| 1100 void InstructionSelector::VisitTruncateFloat32ToInt64(Node* node) { | |
| 1101 UNIMPLEMENTED(); | |
| 1102 } | |
| 1103 | |
| 1104 | |
| 1105 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) { | 1098 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) { |
| 1106 UNIMPLEMENTED(); | 1099 UNIMPLEMENTED(); |
| 1107 } | 1100 } |
| 1108 | 1101 |
| 1109 | 1102 |
| 1110 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { | 1103 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { |
| 1111 UNIMPLEMENTED(); | 1104 UNIMPLEMENTED(); |
| 1112 } | 1105 } |
| 1113 | 1106 |
| 1114 | 1107 |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1466 return new (instruction_zone()) FrameStateDescriptor( | 1459 return new (instruction_zone()) FrameStateDescriptor( |
| 1467 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1460 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 1468 state_info.state_combine(), parameters, locals, stack, | 1461 state_info.state_combine(), parameters, locals, stack, |
| 1469 state_info.shared_info(), outer_state); | 1462 state_info.shared_info(), outer_state); |
| 1470 } | 1463 } |
| 1471 | 1464 |
| 1472 | 1465 |
| 1473 } // namespace compiler | 1466 } // namespace compiler |
| 1474 } // namespace internal | 1467 } // namespace internal |
| 1475 } // namespace v8 | 1468 } // namespace v8 |
| OLD | NEW |