| 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 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1433 MarkAsWord32(node); | 1433 MarkAsWord32(node); |
| 1434 MarkPairProjectionsAsWord32(node); | 1434 MarkPairProjectionsAsWord32(node); |
| 1435 return VisitWord32PairSar(node); | 1435 return VisitWord32PairSar(node); |
| 1436 case IrOpcode::kAtomicLoad: { | 1436 case IrOpcode::kAtomicLoad: { |
| 1437 LoadRepresentation type = LoadRepresentationOf(node->op()); | 1437 LoadRepresentation type = LoadRepresentationOf(node->op()); |
| 1438 MarkAsRepresentation(type.representation(), node); | 1438 MarkAsRepresentation(type.representation(), node); |
| 1439 return VisitAtomicLoad(node); | 1439 return VisitAtomicLoad(node); |
| 1440 } | 1440 } |
| 1441 case IrOpcode::kAtomicStore: | 1441 case IrOpcode::kAtomicStore: |
| 1442 return VisitAtomicStore(node); | 1442 return VisitAtomicStore(node); |
| 1443 case IrOpcode::kAtomicExchange: { |
| 1444 MachineType type = AtomicExchangeRepresentationOf(node->op()); |
| 1445 MarkAsRepresentation(type.representation(), node); |
| 1446 return VisitAtomicExchange(node); |
| 1447 } |
| 1443 case IrOpcode::kProtectedLoad: { | 1448 case IrOpcode::kProtectedLoad: { |
| 1444 LoadRepresentation type = LoadRepresentationOf(node->op()); | 1449 LoadRepresentation type = LoadRepresentationOf(node->op()); |
| 1445 MarkAsRepresentation(type.representation(), node); | 1450 MarkAsRepresentation(type.representation(), node); |
| 1446 return VisitProtectedLoad(node); | 1451 return VisitProtectedLoad(node); |
| 1447 } | 1452 } |
| 1448 case IrOpcode::kUnsafePointerAdd: | 1453 case IrOpcode::kUnsafePointerAdd: |
| 1449 MarkAsRepresentation(MachineType::PointerRepresentation(), node); | 1454 MarkAsRepresentation(MachineType::PointerRepresentation(), node); |
| 1450 return VisitUnsafePointerAdd(node); | 1455 return VisitUnsafePointerAdd(node); |
| 1451 case IrOpcode::kCreateFloat32x4: | 1456 case IrOpcode::kCreateFloat32x4: |
| 1452 return MarkAsSimd128(node), VisitCreateFloat32x4(node); | 1457 return MarkAsSimd128(node), VisitCreateFloat32x4(node); |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2261 return new (instruction_zone()) FrameStateDescriptor( | 2266 return new (instruction_zone()) FrameStateDescriptor( |
| 2262 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2267 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 2263 state_info.state_combine(), parameters, locals, stack, | 2268 state_info.state_combine(), parameters, locals, stack, |
| 2264 state_info.shared_info(), outer_state); | 2269 state_info.shared_info(), outer_state); |
| 2265 } | 2270 } |
| 2266 | 2271 |
| 2267 | 2272 |
| 2268 } // namespace compiler | 2273 } // namespace compiler |
| 2269 } // namespace internal | 2274 } // namespace internal |
| 2270 } // namespace v8 | 2275 } // namespace v8 |
| OLD | NEW |