| 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 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 case IrOpcode::kUint64LessThan: | 687 case IrOpcode::kUint64LessThan: |
| 688 return VisitUint64LessThan(node); | 688 return VisitUint64LessThan(node); |
| 689 case IrOpcode::kUint64LessThanOrEqual: | 689 case IrOpcode::kUint64LessThanOrEqual: |
| 690 return VisitUint64LessThanOrEqual(node); | 690 return VisitUint64LessThanOrEqual(node); |
| 691 case IrOpcode::kUint64Mod: | 691 case IrOpcode::kUint64Mod: |
| 692 return MarkAsWord64(node), VisitUint64Mod(node); | 692 return MarkAsWord64(node), VisitUint64Mod(node); |
| 693 case IrOpcode::kChangeFloat32ToFloat64: | 693 case IrOpcode::kChangeFloat32ToFloat64: |
| 694 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node); | 694 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node); |
| 695 case IrOpcode::kChangeInt32ToFloat64: | 695 case IrOpcode::kChangeInt32ToFloat64: |
| 696 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); | 696 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); |
| 697 case IrOpcode::kRoundInt64ToFloat64: |
| 698 return MarkAsFloat64(node), VisitRoundInt64ToFloat64(node); |
| 697 case IrOpcode::kChangeUint32ToFloat64: | 699 case IrOpcode::kChangeUint32ToFloat64: |
| 698 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); | 700 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); |
| 699 case IrOpcode::kChangeFloat64ToInt32: | 701 case IrOpcode::kChangeFloat64ToInt32: |
| 700 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); | 702 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); |
| 701 case IrOpcode::kChangeFloat64ToUint32: | 703 case IrOpcode::kChangeFloat64ToUint32: |
| 702 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); | 704 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); |
| 703 case IrOpcode::kChangeInt32ToInt64: | 705 case IrOpcode::kChangeInt32ToInt64: |
| 704 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); | 706 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); |
| 705 case IrOpcode::kChangeUint32ToUint64: | 707 case IrOpcode::kChangeUint32ToUint64: |
| 706 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); | 708 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1301 for (StateValuesAccess::TypedNode input_node : StateValuesAccess(stack)) { | 1303 for (StateValuesAccess::TypedNode input_node : StateValuesAccess(stack)) { |
| 1302 inputs->push_back(OperandForDeopt(&g, input_node.node, kind)); | 1304 inputs->push_back(OperandForDeopt(&g, input_node.node, kind)); |
| 1303 descriptor->SetType(value_index++, input_node.type); | 1305 descriptor->SetType(value_index++, input_node.type); |
| 1304 } | 1306 } |
| 1305 DCHECK(value_index == descriptor->GetSize()); | 1307 DCHECK(value_index == descriptor->GetSize()); |
| 1306 } | 1308 } |
| 1307 | 1309 |
| 1308 } // namespace compiler | 1310 } // namespace compiler |
| 1309 } // namespace internal | 1311 } // namespace internal |
| 1310 } // namespace v8 | 1312 } // namespace v8 |
| OLD | NEW |