| 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 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1798 } | 1798 } |
| 1799 break; | 1799 break; |
| 1800 case MachineRepresentation::kNone: | 1800 case MachineRepresentation::kNone: |
| 1801 case MachineRepresentation::kBit: | 1801 case MachineRepresentation::kBit: |
| 1802 case MachineRepresentation::kWord8: | 1802 case MachineRepresentation::kWord8: |
| 1803 case MachineRepresentation::kWord16: | 1803 case MachineRepresentation::kWord16: |
| 1804 case MachineRepresentation::kWord32: | 1804 case MachineRepresentation::kWord32: |
| 1805 case MachineRepresentation::kWord64: | 1805 case MachineRepresentation::kWord64: |
| 1806 case MachineRepresentation::kFloat32: | 1806 case MachineRepresentation::kFloat32: |
| 1807 case MachineRepresentation::kSimd128: | 1807 case MachineRepresentation::kSimd128: |
| 1808 case MachineRepresentation::kSimd1x4: | |
| 1809 case MachineRepresentation::kSimd1x8: | |
| 1810 case MachineRepresentation::kSimd1x16: | |
| 1811 UNREACHABLE(); | 1808 UNREACHABLE(); |
| 1812 break; | 1809 break; |
| 1813 } | 1810 } |
| 1814 // Check if we need to perform a transitioning store. | 1811 // Check if we need to perform a transitioning store. |
| 1815 Handle<Map> transition_map; | 1812 Handle<Map> transition_map; |
| 1816 if (access_info.transition_map().ToHandle(&transition_map)) { | 1813 if (access_info.transition_map().ToHandle(&transition_map)) { |
| 1817 // Check if we need to grow the properties backing store | 1814 // Check if we need to grow the properties backing store |
| 1818 // with this transitioning store. | 1815 // with this transitioning store. |
| 1819 Handle<Map> original_map(Map::cast(transition_map->GetBackPointer()), | 1816 Handle<Map> original_map(Map::cast(transition_map->GetBackPointer()), |
| 1820 isolate()); | 1817 isolate()); |
| (...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2614 return jsgraph()->javascript(); | 2611 return jsgraph()->javascript(); |
| 2615 } | 2612 } |
| 2616 | 2613 |
| 2617 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const { | 2614 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const { |
| 2618 return jsgraph()->simplified(); | 2615 return jsgraph()->simplified(); |
| 2619 } | 2616 } |
| 2620 | 2617 |
| 2621 } // namespace compiler | 2618 } // namespace compiler |
| 2622 } // namespace internal | 2619 } // namespace internal |
| 2623 } // namespace v8 | 2620 } // namespace v8 |
| OLD | NEW |