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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 case IrOpcode::kUint64LessThan: | 685 case IrOpcode::kUint64LessThan: |
686 return VisitUint64LessThan(node); | 686 return VisitUint64LessThan(node); |
687 case IrOpcode::kUint64LessThanOrEqual: | 687 case IrOpcode::kUint64LessThanOrEqual: |
688 return VisitUint64LessThanOrEqual(node); | 688 return VisitUint64LessThanOrEqual(node); |
689 case IrOpcode::kUint64Mod: | 689 case IrOpcode::kUint64Mod: |
690 return MarkAsWord64(node), VisitUint64Mod(node); | 690 return MarkAsWord64(node), VisitUint64Mod(node); |
691 case IrOpcode::kChangeFloat32ToFloat64: | 691 case IrOpcode::kChangeFloat32ToFloat64: |
692 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node); | 692 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node); |
693 case IrOpcode::kChangeInt32ToFloat64: | 693 case IrOpcode::kChangeInt32ToFloat64: |
694 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); | 694 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); |
| 695 case IrOpcode::kChangeInt64ToFloat64: |
| 696 return MarkAsFloat64(node), VisitChangeInt64ToFloat64(node); |
695 case IrOpcode::kChangeUint32ToFloat64: | 697 case IrOpcode::kChangeUint32ToFloat64: |
696 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); | 698 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); |
697 case IrOpcode::kChangeFloat64ToInt32: | 699 case IrOpcode::kChangeFloat64ToInt32: |
698 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); | 700 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); |
699 case IrOpcode::kChangeFloat64ToUint32: | 701 case IrOpcode::kChangeFloat64ToUint32: |
700 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); | 702 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); |
701 case IrOpcode::kChangeInt32ToInt64: | 703 case IrOpcode::kChangeInt32ToInt64: |
702 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); | 704 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); |
703 case IrOpcode::kChangeUint32ToUint64: | 705 case IrOpcode::kChangeUint32ToUint64: |
704 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); | 706 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1292 for (StateValuesAccess::TypedNode input_node : StateValuesAccess(stack)) { | 1294 for (StateValuesAccess::TypedNode input_node : StateValuesAccess(stack)) { |
1293 inputs->push_back(OperandForDeopt(&g, input_node.node, kind)); | 1295 inputs->push_back(OperandForDeopt(&g, input_node.node, kind)); |
1294 descriptor->SetType(value_index++, input_node.type); | 1296 descriptor->SetType(value_index++, input_node.type); |
1295 } | 1297 } |
1296 DCHECK(value_index == descriptor->GetSize()); | 1298 DCHECK(value_index == descriptor->GetSize()); |
1297 } | 1299 } |
1298 | 1300 |
1299 } // namespace compiler | 1301 } // namespace compiler |
1300 } // namespace internal | 1302 } // namespace internal |
1301 } // namespace v8 | 1303 } // namespace v8 |
OLD | NEW |