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 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 case IrOpcode::kChangeUint32ToUint64: | 969 case IrOpcode::kChangeUint32ToUint64: |
970 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); | 970 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); |
971 case IrOpcode::kTruncateFloat64ToFloat32: | 971 case IrOpcode::kTruncateFloat64ToFloat32: |
972 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node); | 972 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node); |
973 case IrOpcode::kTruncateFloat64ToInt32: | 973 case IrOpcode::kTruncateFloat64ToInt32: |
974 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node); | 974 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node); |
975 case IrOpcode::kTruncateInt64ToInt32: | 975 case IrOpcode::kTruncateInt64ToInt32: |
976 return MarkAsWord32(node), VisitTruncateInt64ToInt32(node); | 976 return MarkAsWord32(node), VisitTruncateInt64ToInt32(node); |
977 case IrOpcode::kRoundInt64ToFloat32: | 977 case IrOpcode::kRoundInt64ToFloat32: |
978 return MarkAsFloat32(node), VisitRoundInt64ToFloat32(node); | 978 return MarkAsFloat32(node), VisitRoundInt64ToFloat32(node); |
| 979 case IrOpcode::kRoundInt32ToFloat32: |
| 980 return MarkAsFloat32(node), VisitRoundInt32ToFloat32(node); |
979 case IrOpcode::kRoundInt64ToFloat64: | 981 case IrOpcode::kRoundInt64ToFloat64: |
980 return MarkAsFloat64(node), VisitRoundInt64ToFloat64(node); | 982 return MarkAsFloat64(node), VisitRoundInt64ToFloat64(node); |
981 case IrOpcode::kBitcastFloat32ToInt32: | 983 case IrOpcode::kBitcastFloat32ToInt32: |
982 return MarkAsWord32(node), VisitBitcastFloat32ToInt32(node); | 984 return MarkAsWord32(node), VisitBitcastFloat32ToInt32(node); |
983 case IrOpcode::kRoundUint64ToFloat32: | 985 case IrOpcode::kRoundUint64ToFloat32: |
984 return MarkAsFloat64(node), VisitRoundUint64ToFloat32(node); | 986 return MarkAsFloat64(node), VisitRoundUint64ToFloat32(node); |
985 case IrOpcode::kRoundUint64ToFloat64: | 987 case IrOpcode::kRoundUint64ToFloat64: |
986 return MarkAsFloat64(node), VisitRoundUint64ToFloat64(node); | 988 return MarkAsFloat64(node), VisitRoundUint64ToFloat64(node); |
987 case IrOpcode::kBitcastFloat64ToInt64: | 989 case IrOpcode::kBitcastFloat64ToInt64: |
988 return MarkAsWord64(node), VisitBitcastFloat64ToInt64(node); | 990 return MarkAsWord64(node), VisitBitcastFloat64ToInt64(node); |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1614 return new (instruction_zone()) FrameStateDescriptor( | 1616 return new (instruction_zone()) FrameStateDescriptor( |
1615 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1617 instruction_zone(), state_info.type(), state_info.bailout_id(), |
1616 state_info.state_combine(), parameters, locals, stack, | 1618 state_info.state_combine(), parameters, locals, stack, |
1617 state_info.shared_info(), outer_state); | 1619 state_info.shared_info(), outer_state); |
1618 } | 1620 } |
1619 | 1621 |
1620 | 1622 |
1621 } // namespace compiler | 1623 } // namespace compiler |
1622 } // namespace internal | 1624 } // namespace internal |
1623 } // namespace v8 | 1625 } // namespace v8 |
OLD | NEW |