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 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2626 return new (instruction_zone()) FrameStateDescriptor( | 2631 return new (instruction_zone()) FrameStateDescriptor( |
2627 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2632 instruction_zone(), state_info.type(), state_info.bailout_id(), |
2628 state_info.state_combine(), parameters, locals, stack, | 2633 state_info.state_combine(), parameters, locals, stack, |
2629 state_info.shared_info(), outer_state); | 2634 state_info.shared_info(), outer_state); |
2630 } | 2635 } |
2631 | 2636 |
2632 | 2637 |
2633 } // namespace compiler | 2638 } // namespace compiler |
2634 } // namespace internal | 2639 } // namespace internal |
2635 } // namespace v8 | 2640 } // namespace v8 |
OLD | NEW |