OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/js-native-context-specialization.h" | 5 #include "src/compiler/js-native-context-specialization.h" |
6 | 6 |
7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/code-factory.h" | 8 #include "src/code-factory.h" |
9 #include "src/compilation-dependencies.h" | 9 #include "src/compilation-dependencies.h" |
10 #include "src/compiler/access-builder.h" | 10 #include "src/compiler/access-builder.h" |
(...skipping 1582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1593 } | 1593 } |
1594 break; | 1594 break; |
1595 case MachineRepresentation::kNone: | 1595 case MachineRepresentation::kNone: |
1596 case MachineRepresentation::kBit: | 1596 case MachineRepresentation::kBit: |
1597 case MachineRepresentation::kWord8: | 1597 case MachineRepresentation::kWord8: |
1598 case MachineRepresentation::kWord16: | 1598 case MachineRepresentation::kWord16: |
1599 case MachineRepresentation::kWord32: | 1599 case MachineRepresentation::kWord32: |
1600 case MachineRepresentation::kWord64: | 1600 case MachineRepresentation::kWord64: |
1601 case MachineRepresentation::kFloat32: | 1601 case MachineRepresentation::kFloat32: |
1602 case MachineRepresentation::kSimd128: | 1602 case MachineRepresentation::kSimd128: |
| 1603 case MachineRepresentation::kSimd1x4: |
| 1604 case MachineRepresentation::kSimd1x8: |
| 1605 case MachineRepresentation::kSimd1x16: |
1603 UNREACHABLE(); | 1606 UNREACHABLE(); |
1604 break; | 1607 break; |
1605 } | 1608 } |
1606 Handle<Map> transition_map; | 1609 Handle<Map> transition_map; |
1607 if (access_info.transition_map().ToHandle(&transition_map)) { | 1610 if (access_info.transition_map().ToHandle(&transition_map)) { |
1608 effect = graph()->NewNode( | 1611 effect = graph()->NewNode( |
1609 common()->BeginRegion(RegionObservability::kObservable), effect); | 1612 common()->BeginRegion(RegionObservability::kObservable), effect); |
1610 effect = graph()->NewNode( | 1613 effect = graph()->NewNode( |
1611 simplified()->StoreField(AccessBuilder::ForMap()), receiver, | 1614 simplified()->StoreField(AccessBuilder::ForMap()), receiver, |
1612 jsgraph()->Constant(transition_map), effect, control); | 1615 jsgraph()->Constant(transition_map), effect, control); |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2299 return jsgraph()->javascript(); | 2302 return jsgraph()->javascript(); |
2300 } | 2303 } |
2301 | 2304 |
2302 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const { | 2305 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const { |
2303 return jsgraph()->simplified(); | 2306 return jsgraph()->simplified(); |
2304 } | 2307 } |
2305 | 2308 |
2306 } // namespace compiler | 2309 } // namespace compiler |
2307 } // namespace internal | 2310 } // namespace internal |
2308 } // namespace v8 | 2311 } // namespace v8 |
OLD | NEW |