| 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 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1442 MarkAsWord32(node); | 1442 MarkAsWord32(node); |
| 1443 MarkPairProjectionsAsWord32(node); | 1443 MarkPairProjectionsAsWord32(node); |
| 1444 return VisitWord32PairSar(node); | 1444 return VisitWord32PairSar(node); |
| 1445 case IrOpcode::kAtomicLoad: { | 1445 case IrOpcode::kAtomicLoad: { |
| 1446 LoadRepresentation type = LoadRepresentationOf(node->op()); | 1446 LoadRepresentation type = LoadRepresentationOf(node->op()); |
| 1447 MarkAsRepresentation(type.representation(), node); | 1447 MarkAsRepresentation(type.representation(), node); |
| 1448 return VisitAtomicLoad(node); | 1448 return VisitAtomicLoad(node); |
| 1449 } | 1449 } |
| 1450 case IrOpcode::kAtomicStore: | 1450 case IrOpcode::kAtomicStore: |
| 1451 return VisitAtomicStore(node); | 1451 return VisitAtomicStore(node); |
| 1452 case IrOpcode::kAtomicExchange: { |
| 1453 MachineType type = AtomicExchangeRepresentationOf(node->op()); |
| 1454 MarkAsRepresentation(type.representation(), node); |
| 1455 return VisitAtomicExchange(node); |
| 1456 } |
| 1452 case IrOpcode::kProtectedLoad: { | 1457 case IrOpcode::kProtectedLoad: { |
| 1453 LoadRepresentation type = LoadRepresentationOf(node->op()); | 1458 LoadRepresentation type = LoadRepresentationOf(node->op()); |
| 1454 MarkAsRepresentation(type.representation(), node); | 1459 MarkAsRepresentation(type.representation(), node); |
| 1455 return VisitProtectedLoad(node); | 1460 return VisitProtectedLoad(node); |
| 1456 } | 1461 } |
| 1457 case IrOpcode::kUnsafePointerAdd: | 1462 case IrOpcode::kUnsafePointerAdd: |
| 1458 MarkAsRepresentation(MachineType::PointerRepresentation(), node); | 1463 MarkAsRepresentation(MachineType::PointerRepresentation(), node); |
| 1459 return VisitUnsafePointerAdd(node); | 1464 return VisitUnsafePointerAdd(node); |
| 1460 case IrOpcode::kFloat32x4Splat: | 1465 case IrOpcode::kFloat32x4Splat: |
| 1461 return MarkAsSimd128(node), VisitFloat32x4Splat(node); | 1466 return MarkAsSimd128(node), VisitFloat32x4Splat(node); |
| (...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2698 return new (instruction_zone()) FrameStateDescriptor( | 2703 return new (instruction_zone()) FrameStateDescriptor( |
| 2699 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2704 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 2700 state_info.state_combine(), parameters, locals, stack, | 2705 state_info.state_combine(), parameters, locals, stack, |
| 2701 state_info.shared_info(), outer_state); | 2706 state_info.shared_info(), outer_state); |
| 2702 } | 2707 } |
| 2703 | 2708 |
| 2704 | 2709 |
| 2705 } // namespace compiler | 2710 } // namespace compiler |
| 2706 } // namespace internal | 2711 } // namespace internal |
| 2707 } // namespace v8 | 2712 } // namespace v8 |
| OLD | NEW |