| 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/compiler-source-position-table.h" | 10 #include "src/compiler/compiler-source-position-table.h" |
| (...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 MarkAsWord32(node); | 1441 MarkAsWord32(node); |
| 1442 MarkPairProjectionsAsWord32(node); | 1442 MarkPairProjectionsAsWord32(node); |
| 1443 return VisitWord32PairSar(node); | 1443 return VisitWord32PairSar(node); |
| 1444 case IrOpcode::kAtomicLoad: { | 1444 case IrOpcode::kAtomicLoad: { |
| 1445 LoadRepresentation type = LoadRepresentationOf(node->op()); | 1445 LoadRepresentation type = LoadRepresentationOf(node->op()); |
| 1446 MarkAsRepresentation(type.representation(), node); | 1446 MarkAsRepresentation(type.representation(), node); |
| 1447 return VisitAtomicLoad(node); | 1447 return VisitAtomicLoad(node); |
| 1448 } | 1448 } |
| 1449 case IrOpcode::kAtomicStore: | 1449 case IrOpcode::kAtomicStore: |
| 1450 return VisitAtomicStore(node); | 1450 return VisitAtomicStore(node); |
| 1451 case IrOpcode::kAtomicExchange: { |
| 1452 MachineType type = AtomicExchangeRepresentationOf(node->op()); |
| 1453 MarkAsRepresentation(type.representation(), node); |
| 1454 return VisitAtomicExchange(node); |
| 1455 } |
| 1451 case IrOpcode::kProtectedLoad: { | 1456 case IrOpcode::kProtectedLoad: { |
| 1452 LoadRepresentation type = LoadRepresentationOf(node->op()); | 1457 LoadRepresentation type = LoadRepresentationOf(node->op()); |
| 1453 MarkAsRepresentation(type.representation(), node); | 1458 MarkAsRepresentation(type.representation(), node); |
| 1454 return VisitProtectedLoad(node); | 1459 return VisitProtectedLoad(node); |
| 1455 } | 1460 } |
| 1456 case IrOpcode::kUnsafePointerAdd: | 1461 case IrOpcode::kUnsafePointerAdd: |
| 1457 MarkAsRepresentation(MachineType::PointerRepresentation(), node); | 1462 MarkAsRepresentation(MachineType::PointerRepresentation(), node); |
| 1458 return VisitUnsafePointerAdd(node); | 1463 return VisitUnsafePointerAdd(node); |
| 1459 case IrOpcode::kCreateFloat32x4: | 1464 case IrOpcode::kCreateFloat32x4: |
| 1460 return MarkAsSimd128(node), VisitCreateFloat32x4(node); | 1465 return MarkAsSimd128(node), VisitCreateFloat32x4(node); |
| (...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2611 return new (instruction_zone()) FrameStateDescriptor( | 2616 return new (instruction_zone()) FrameStateDescriptor( |
| 2612 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2617 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 2613 state_info.state_combine(), parameters, locals, stack, | 2618 state_info.state_combine(), parameters, locals, stack, |
| 2614 state_info.shared_info(), outer_state); | 2619 state_info.shared_info(), outer_state); |
| 2615 } | 2620 } |
| 2616 | 2621 |
| 2617 | 2622 |
| 2618 } // namespace compiler | 2623 } // namespace compiler |
| 2619 } // namespace internal | 2624 } // namespace internal |
| 2620 } // namespace v8 | 2625 } // namespace v8 |
| OLD | NEW |