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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 case JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE: | 251 case JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE: |
252 case JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE: | 252 case JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE: |
253 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE: | 253 case JS_FAST_ARRAY_VALUE_ITERATOR_TYPE: |
254 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE: | 254 case JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE: |
255 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: | 255 case JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: |
256 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: | 256 case JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE: |
257 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE: | 257 case JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE: |
258 | 258 |
259 case JS_WEAK_MAP_TYPE: | 259 case JS_WEAK_MAP_TYPE: |
260 case JS_WEAK_SET_TYPE: | 260 case JS_WEAK_SET_TYPE: |
| 261 case JS_PROMISE_CAPABILITY_TYPE: |
261 case JS_PROMISE_TYPE: | 262 case JS_PROMISE_TYPE: |
262 case JS_BOUND_FUNCTION_TYPE: | 263 case JS_BOUND_FUNCTION_TYPE: |
263 DCHECK(!map->is_undetectable()); | 264 DCHECK(!map->is_undetectable()); |
264 return kOtherObject; | 265 return kOtherObject; |
265 case JS_FUNCTION_TYPE: | 266 case JS_FUNCTION_TYPE: |
266 DCHECK(!map->is_undetectable()); | 267 DCHECK(!map->is_undetectable()); |
267 return kFunction; | 268 return kFunction; |
268 case JS_PROXY_TYPE: | 269 case JS_PROXY_TYPE: |
269 DCHECK(!map->is_undetectable()); | 270 DCHECK(!map->is_undetectable()); |
270 return kProxy; | 271 return kProxy; |
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1302 #undef CONSTRUCT_SIMD_TYPE | 1303 #undef CONSTRUCT_SIMD_TYPE |
1303 | 1304 |
1304 // ----------------------------------------------------------------------------- | 1305 // ----------------------------------------------------------------------------- |
1305 // Instantiations. | 1306 // Instantiations. |
1306 | 1307 |
1307 template class AstType::Iterator<i::Map>; | 1308 template class AstType::Iterator<i::Map>; |
1308 template class AstType::Iterator<i::Object>; | 1309 template class AstType::Iterator<i::Object>; |
1309 | 1310 |
1310 } // namespace internal | 1311 } // namespace internal |
1311 } // namespace v8 | 1312 } // namespace v8 |
OLD | NEW |