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 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1013 case IrOpcode::kChangeFloat32ToFloat64: | 1013 case IrOpcode::kChangeFloat32ToFloat64: |
1014 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node); | 1014 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node); |
1015 case IrOpcode::kChangeInt32ToFloat64: | 1015 case IrOpcode::kChangeInt32ToFloat64: |
1016 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); | 1016 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); |
1017 case IrOpcode::kChangeUint32ToFloat64: | 1017 case IrOpcode::kChangeUint32ToFloat64: |
1018 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); | 1018 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); |
1019 case IrOpcode::kChangeFloat64ToInt32: | 1019 case IrOpcode::kChangeFloat64ToInt32: |
1020 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); | 1020 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); |
1021 case IrOpcode::kChangeFloat64ToUint32: | 1021 case IrOpcode::kChangeFloat64ToUint32: |
1022 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); | 1022 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); |
| 1023 case IrOpcode::kTruncateFloat64ToUint32: |
| 1024 return MarkAsWord32(node), VisitTruncateFloat64ToUint32(node); |
1023 case IrOpcode::kTruncateFloat32ToInt32: | 1025 case IrOpcode::kTruncateFloat32ToInt32: |
1024 return MarkAsWord32(node), VisitTruncateFloat32ToInt32(node); | 1026 return MarkAsWord32(node), VisitTruncateFloat32ToInt32(node); |
1025 case IrOpcode::kTruncateFloat32ToUint32: | 1027 case IrOpcode::kTruncateFloat32ToUint32: |
1026 return MarkAsWord32(node), VisitTruncateFloat32ToUint32(node); | 1028 return MarkAsWord32(node), VisitTruncateFloat32ToUint32(node); |
1027 case IrOpcode::kTryTruncateFloat32ToInt64: | 1029 case IrOpcode::kTryTruncateFloat32ToInt64: |
1028 return MarkAsWord64(node), VisitTryTruncateFloat32ToInt64(node); | 1030 return MarkAsWord64(node), VisitTryTruncateFloat32ToInt64(node); |
1029 case IrOpcode::kTryTruncateFloat64ToInt64: | 1031 case IrOpcode::kTryTruncateFloat64ToInt64: |
1030 return MarkAsWord64(node), VisitTryTruncateFloat64ToInt64(node); | 1032 return MarkAsWord64(node), VisitTryTruncateFloat64ToInt64(node); |
1031 case IrOpcode::kTryTruncateFloat32ToUint64: | 1033 case IrOpcode::kTryTruncateFloat32ToUint64: |
1032 return MarkAsWord64(node), VisitTryTruncateFloat32ToUint64(node); | 1034 return MarkAsWord64(node), VisitTryTruncateFloat32ToUint64(node); |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1794 return new (instruction_zone()) FrameStateDescriptor( | 1796 return new (instruction_zone()) FrameStateDescriptor( |
1795 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1797 instruction_zone(), state_info.type(), state_info.bailout_id(), |
1796 state_info.state_combine(), parameters, locals, stack, | 1798 state_info.state_combine(), parameters, locals, stack, |
1797 state_info.shared_info(), outer_state); | 1799 state_info.shared_info(), outer_state); |
1798 } | 1800 } |
1799 | 1801 |
1800 | 1802 |
1801 } // namespace compiler | 1803 } // namespace compiler |
1802 } // namespace internal | 1804 } // namespace internal |
1803 } // namespace v8 | 1805 } // namespace v8 |
OLD | NEW |