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