| 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 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1135 case IrOpcode::kFloat64InsertHighWord32: | 1135 case IrOpcode::kFloat64InsertHighWord32: |
| 1136 return MarkAsFloat64(node), VisitFloat64InsertHighWord32(node); | 1136 return MarkAsFloat64(node), VisitFloat64InsertHighWord32(node); |
| 1137 case IrOpcode::kStackSlot: | 1137 case IrOpcode::kStackSlot: |
| 1138 return VisitStackSlot(node); | 1138 return VisitStackSlot(node); |
| 1139 case IrOpcode::kLoadStackPointer: | 1139 case IrOpcode::kLoadStackPointer: |
| 1140 return VisitLoadStackPointer(node); | 1140 return VisitLoadStackPointer(node); |
| 1141 case IrOpcode::kLoadFramePointer: | 1141 case IrOpcode::kLoadFramePointer: |
| 1142 return VisitLoadFramePointer(node); | 1142 return VisitLoadFramePointer(node); |
| 1143 case IrOpcode::kLoadParentFramePointer: | 1143 case IrOpcode::kLoadParentFramePointer: |
| 1144 return VisitLoadParentFramePointer(node); | 1144 return VisitLoadParentFramePointer(node); |
| 1145 case IrOpcode::kUnalignedLoad: { |
| 1146 UnalignedLoadRepresentation type = |
| 1147 UnalignedLoadRepresentationOf(node->op()); |
| 1148 MarkAsRepresentation(type.representation(), node); |
| 1149 return VisitUnalignedLoad(node); |
| 1150 } |
| 1151 case IrOpcode::kUnalignedStore: |
| 1152 return VisitUnalignedStore(node); |
| 1145 case IrOpcode::kCheckedLoad: { | 1153 case IrOpcode::kCheckedLoad: { |
| 1146 MachineRepresentation rep = | 1154 MachineRepresentation rep = |
| 1147 CheckedLoadRepresentationOf(node->op()).representation(); | 1155 CheckedLoadRepresentationOf(node->op()).representation(); |
| 1148 MarkAsRepresentation(rep, node); | 1156 MarkAsRepresentation(rep, node); |
| 1149 return VisitCheckedLoad(node); | 1157 return VisitCheckedLoad(node); |
| 1150 } | 1158 } |
| 1151 case IrOpcode::kCheckedStore: | 1159 case IrOpcode::kCheckedStore: |
| 1152 return VisitCheckedStore(node); | 1160 return VisitCheckedStore(node); |
| 1153 case IrOpcode::kWord32PairShl: | 1161 case IrOpcode::kWord32PairShl: |
| 1154 MarkAsWord32(NodeProperties::FindProjection(node, 0)); | 1162 MarkAsWord32(NodeProperties::FindProjection(node, 0)); |
| (...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1757 return new (instruction_zone()) FrameStateDescriptor( | 1765 return new (instruction_zone()) FrameStateDescriptor( |
| 1758 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1766 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 1759 state_info.state_combine(), parameters, locals, stack, | 1767 state_info.state_combine(), parameters, locals, stack, |
| 1760 state_info.shared_info(), outer_state); | 1768 state_info.shared_info(), outer_state); |
| 1761 } | 1769 } |
| 1762 | 1770 |
| 1763 | 1771 |
| 1764 } // namespace compiler | 1772 } // namespace compiler |
| 1765 } // namespace internal | 1773 } // namespace internal |
| 1766 } // namespace v8 | 1774 } // namespace v8 |
| OLD | NEW |