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/simplified-lowering.h" | 5 #include "src/compiler/simplified-lowering.h" |
6 | 6 |
7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
8 #include "src/code-factory.h" | 8 #include "src/code-factory.h" |
9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
10 #include "src/compiler/graph-inl.h" | 10 #include "src/compiler/graph-inl.h" |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 case IrOpcode::kInt64Add: | 666 case IrOpcode::kInt64Add: |
667 case IrOpcode::kInt64Sub: | 667 case IrOpcode::kInt64Sub: |
668 case IrOpcode::kInt64Mul: | 668 case IrOpcode::kInt64Mul: |
669 case IrOpcode::kInt64Div: | 669 case IrOpcode::kInt64Div: |
670 case IrOpcode::kInt64Mod: | 670 case IrOpcode::kInt64Mod: |
671 return VisitInt64Binop(node); | 671 return VisitInt64Binop(node); |
672 case IrOpcode::kInt64LessThan: | 672 case IrOpcode::kInt64LessThan: |
673 case IrOpcode::kInt64LessThanOrEqual: | 673 case IrOpcode::kInt64LessThanOrEqual: |
674 return VisitInt64Cmp(node); | 674 return VisitInt64Cmp(node); |
675 | 675 |
| 676 case IrOpcode::kUint64LessThan: |
| 677 return VisitUint64Cmp(node); |
| 678 |
676 case IrOpcode::kInt64UDiv: | 679 case IrOpcode::kInt64UDiv: |
677 case IrOpcode::kInt64UMod: | 680 case IrOpcode::kInt64UMod: |
678 return VisitUint64Binop(node); | 681 return VisitUint64Binop(node); |
679 | 682 |
680 case IrOpcode::kWord64And: | 683 case IrOpcode::kWord64And: |
681 case IrOpcode::kWord64Or: | 684 case IrOpcode::kWord64Or: |
682 case IrOpcode::kWord64Xor: | 685 case IrOpcode::kWord64Xor: |
683 case IrOpcode::kWord64Shl: | 686 case IrOpcode::kWord64Shl: |
684 case IrOpcode::kWord64Shr: | 687 case IrOpcode::kWord64Shr: |
685 case IrOpcode::kWord64Sar: | 688 case IrOpcode::kWord64Sar: |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 void SimplifiedLowering::DoStringLessThanOrEqual(Node* node) { | 938 void SimplifiedLowering::DoStringLessThanOrEqual(Node* node) { |
936 node->set_op(machine()->IntLessThanOrEqual()); | 939 node->set_op(machine()->IntLessThanOrEqual()); |
937 node->ReplaceInput(0, StringComparison(node, true)); | 940 node->ReplaceInput(0, StringComparison(node, true)); |
938 node->ReplaceInput(1, jsgraph()->SmiConstant(EQUAL)); | 941 node->ReplaceInput(1, jsgraph()->SmiConstant(EQUAL)); |
939 } | 942 } |
940 | 943 |
941 | 944 |
942 } // namespace compiler | 945 } // namespace compiler |
943 } // namespace internal | 946 } // namespace internal |
944 } // namespace v8 | 947 } // namespace v8 |
OLD | NEW |