| 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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 case IrOpcode::kChangeInt32ToFloat64: | 951 case IrOpcode::kChangeInt32ToFloat64: |
| 952 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); | 952 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); |
| 953 case IrOpcode::kChangeUint32ToFloat64: | 953 case IrOpcode::kChangeUint32ToFloat64: |
| 954 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); | 954 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); |
| 955 case IrOpcode::kChangeFloat64ToInt32: | 955 case IrOpcode::kChangeFloat64ToInt32: |
| 956 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); | 956 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); |
| 957 case IrOpcode::kChangeFloat64ToUint32: | 957 case IrOpcode::kChangeFloat64ToUint32: |
| 958 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); | 958 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); |
| 959 case IrOpcode::kTruncateFloat32ToInt32: | 959 case IrOpcode::kTruncateFloat32ToInt32: |
| 960 return MarkAsWord32(node), VisitTruncateFloat32ToInt32(node); | 960 return MarkAsWord32(node), VisitTruncateFloat32ToInt32(node); |
| 961 case IrOpcode::kTruncateFloat32ToUint32: |
| 962 return MarkAsWord32(node), VisitTruncateFloat32ToUint32(node); |
| 961 case IrOpcode::kTryTruncateFloat32ToInt64: | 963 case IrOpcode::kTryTruncateFloat32ToInt64: |
| 962 return MarkAsWord64(node), VisitTryTruncateFloat32ToInt64(node); | 964 return MarkAsWord64(node), VisitTryTruncateFloat32ToInt64(node); |
| 963 case IrOpcode::kTryTruncateFloat64ToInt64: | 965 case IrOpcode::kTryTruncateFloat64ToInt64: |
| 964 return MarkAsWord64(node), VisitTryTruncateFloat64ToInt64(node); | 966 return MarkAsWord64(node), VisitTryTruncateFloat64ToInt64(node); |
| 965 case IrOpcode::kTryTruncateFloat32ToUint64: | 967 case IrOpcode::kTryTruncateFloat32ToUint64: |
| 966 return MarkAsWord64(node), VisitTryTruncateFloat32ToUint64(node); | 968 return MarkAsWord64(node), VisitTryTruncateFloat32ToUint64(node); |
| 967 case IrOpcode::kTryTruncateFloat64ToUint64: | 969 case IrOpcode::kTryTruncateFloat64ToUint64: |
| 968 return MarkAsWord64(node), VisitTryTruncateFloat64ToUint64(node); | 970 return MarkAsWord64(node), VisitTryTruncateFloat64ToUint64(node); |
| 969 case IrOpcode::kChangeInt32ToInt64: | 971 case IrOpcode::kChangeInt32ToInt64: |
| 970 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); | 972 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1625 return new (instruction_zone()) FrameStateDescriptor( | 1627 return new (instruction_zone()) FrameStateDescriptor( |
| 1626 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1628 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 1627 state_info.state_combine(), parameters, locals, stack, | 1629 state_info.state_combine(), parameters, locals, stack, |
| 1628 state_info.shared_info(), outer_state); | 1630 state_info.shared_info(), outer_state); |
| 1629 } | 1631 } |
| 1630 | 1632 |
| 1631 | 1633 |
| 1632 } // namespace compiler | 1634 } // namespace compiler |
| 1633 } // namespace internal | 1635 } // namespace internal |
| 1634 } // namespace v8 | 1636 } // namespace v8 |
| OLD | NEW |