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 <iomanip> | 5 #include <iomanip> |
6 | 6 |
7 #include "src/ast/ast-types.h" | 7 #include "src/ast/ast-types.h" |
8 | 8 |
9 #include "src/handles-inl.h" | 9 #include "src/handles-inl.h" |
10 #include "src/objects-inl.h" | 10 #include "src/objects-inl.h" |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 return kNone; | 150 return kNone; |
151 } | 151 } |
152 | 152 |
153 AstType::bitset AstBitsetType::Lub(i::Map* map) { | 153 AstType::bitset AstBitsetType::Lub(i::Map* map) { |
154 DisallowHeapAllocation no_allocation; | 154 DisallowHeapAllocation no_allocation; |
155 switch (map->instance_type()) { | 155 switch (map->instance_type()) { |
156 case STRING_TYPE: | 156 case STRING_TYPE: |
157 case ONE_BYTE_STRING_TYPE: | 157 case ONE_BYTE_STRING_TYPE: |
158 case CONS_STRING_TYPE: | 158 case CONS_STRING_TYPE: |
159 case CONS_ONE_BYTE_STRING_TYPE: | 159 case CONS_ONE_BYTE_STRING_TYPE: |
160 case THIN_STRING_TYPE: | |
161 case THIN_ONE_BYTE_STRING_TYPE: | |
162 case SLICED_STRING_TYPE: | 160 case SLICED_STRING_TYPE: |
163 case SLICED_ONE_BYTE_STRING_TYPE: | 161 case SLICED_ONE_BYTE_STRING_TYPE: |
164 case EXTERNAL_STRING_TYPE: | 162 case EXTERNAL_STRING_TYPE: |
165 case EXTERNAL_ONE_BYTE_STRING_TYPE: | 163 case EXTERNAL_ONE_BYTE_STRING_TYPE: |
166 case EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE: | 164 case EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE: |
167 case SHORT_EXTERNAL_STRING_TYPE: | 165 case SHORT_EXTERNAL_STRING_TYPE: |
168 case SHORT_EXTERNAL_ONE_BYTE_STRING_TYPE: | 166 case SHORT_EXTERNAL_ONE_BYTE_STRING_TYPE: |
169 case SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE: | 167 case SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE: |
170 return kOtherString; | 168 return kOtherString; |
171 case INTERNALIZED_STRING_TYPE: | 169 case INTERNALIZED_STRING_TYPE: |
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1306 #undef CONSTRUCT_SIMD_TYPE | 1304 #undef CONSTRUCT_SIMD_TYPE |
1307 | 1305 |
1308 // ----------------------------------------------------------------------------- | 1306 // ----------------------------------------------------------------------------- |
1309 // Instantiations. | 1307 // Instantiations. |
1310 | 1308 |
1311 template class AstType::Iterator<i::Map>; | 1309 template class AstType::Iterator<i::Map>; |
1312 template class AstType::Iterator<i::Object>; | 1310 template class AstType::Iterator<i::Object>; |
1313 | 1311 |
1314 } // namespace internal | 1312 } // namespace internal |
1315 } // namespace v8 | 1313 } // namespace v8 |
OLD | NEW |