| 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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 case IrOpcode::kWord64Xor: | 729 case IrOpcode::kWord64Xor: |
| 730 return MarkAsWord64(node), VisitWord64Xor(node); | 730 return MarkAsWord64(node), VisitWord64Xor(node); |
| 731 case IrOpcode::kWord64Shl: | 731 case IrOpcode::kWord64Shl: |
| 732 return MarkAsWord64(node), VisitWord64Shl(node); | 732 return MarkAsWord64(node), VisitWord64Shl(node); |
| 733 case IrOpcode::kWord64Shr: | 733 case IrOpcode::kWord64Shr: |
| 734 return MarkAsWord64(node), VisitWord64Shr(node); | 734 return MarkAsWord64(node), VisitWord64Shr(node); |
| 735 case IrOpcode::kWord64Sar: | 735 case IrOpcode::kWord64Sar: |
| 736 return MarkAsWord64(node), VisitWord64Sar(node); | 736 return MarkAsWord64(node), VisitWord64Sar(node); |
| 737 case IrOpcode::kWord64Ror: | 737 case IrOpcode::kWord64Ror: |
| 738 return MarkAsWord64(node), VisitWord64Ror(node); | 738 return MarkAsWord64(node), VisitWord64Ror(node); |
| 739 case IrOpcode::kWord64Clz: |
| 740 return MarkAsWord64(node), VisitWord64Clz(node); |
| 739 case IrOpcode::kWord64Equal: | 741 case IrOpcode::kWord64Equal: |
| 740 return VisitWord64Equal(node); | 742 return VisitWord64Equal(node); |
| 741 case IrOpcode::kInt32Add: | 743 case IrOpcode::kInt32Add: |
| 742 return MarkAsWord32(node), VisitInt32Add(node); | 744 return MarkAsWord32(node), VisitInt32Add(node); |
| 743 case IrOpcode::kInt32AddWithOverflow: | 745 case IrOpcode::kInt32AddWithOverflow: |
| 744 return MarkAsWord32(node), VisitInt32AddWithOverflow(node); | 746 return MarkAsWord32(node), VisitInt32AddWithOverflow(node); |
| 745 case IrOpcode::kInt32Sub: | 747 case IrOpcode::kInt32Sub: |
| 746 return MarkAsWord32(node), VisitInt32Sub(node); | 748 return MarkAsWord32(node), VisitInt32Sub(node); |
| 747 case IrOpcode::kInt32SubWithOverflow: | 749 case IrOpcode::kInt32SubWithOverflow: |
| 748 return VisitInt32SubWithOverflow(node); | 750 return VisitInt32SubWithOverflow(node); |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 964 | 966 |
| 965 void InstructionSelector::VisitWord64Shr(Node* node) { UNIMPLEMENTED(); } | 967 void InstructionSelector::VisitWord64Shr(Node* node) { UNIMPLEMENTED(); } |
| 966 | 968 |
| 967 | 969 |
| 968 void InstructionSelector::VisitWord64Sar(Node* node) { UNIMPLEMENTED(); } | 970 void InstructionSelector::VisitWord64Sar(Node* node) { UNIMPLEMENTED(); } |
| 969 | 971 |
| 970 | 972 |
| 971 void InstructionSelector::VisitWord64Ror(Node* node) { UNIMPLEMENTED(); } | 973 void InstructionSelector::VisitWord64Ror(Node* node) { UNIMPLEMENTED(); } |
| 972 | 974 |
| 973 | 975 |
| 976 void InstructionSelector::VisitWord64Clz(Node* node) { UNIMPLEMENTED(); } |
| 977 |
| 978 |
| 974 void InstructionSelector::VisitWord64Equal(Node* node) { UNIMPLEMENTED(); } | 979 void InstructionSelector::VisitWord64Equal(Node* node) { UNIMPLEMENTED(); } |
| 975 | 980 |
| 976 | 981 |
| 977 void InstructionSelector::VisitInt64Add(Node* node) { UNIMPLEMENTED(); } | 982 void InstructionSelector::VisitInt64Add(Node* node) { UNIMPLEMENTED(); } |
| 978 | 983 |
| 979 | 984 |
| 980 void InstructionSelector::VisitInt64Sub(Node* node) { UNIMPLEMENTED(); } | 985 void InstructionSelector::VisitInt64Sub(Node* node) { UNIMPLEMENTED(); } |
| 981 | 986 |
| 982 | 987 |
| 983 void InstructionSelector::VisitInt64Mul(Node* node) { UNIMPLEMENTED(); } | 988 void InstructionSelector::VisitInt64Mul(Node* node) { UNIMPLEMENTED(); } |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1338 return new (instruction_zone()) FrameStateDescriptor( | 1343 return new (instruction_zone()) FrameStateDescriptor( |
| 1339 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1344 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 1340 state_info.state_combine(), parameters, locals, stack, | 1345 state_info.state_combine(), parameters, locals, stack, |
| 1341 state_info.shared_info(), outer_state); | 1346 state_info.shared_info(), outer_state); |
| 1342 } | 1347 } |
| 1343 | 1348 |
| 1344 | 1349 |
| 1345 } // namespace compiler | 1350 } // namespace compiler |
| 1346 } // namespace internal | 1351 } // namespace internal |
| 1347 } // namespace v8 | 1352 } // namespace v8 |
| OLD | NEW |