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/types.h" | 7 #include "src/types.h" |
8 | 8 |
9 #include "src/ostreams.h" | 9 #include "src/ostreams.h" |
10 #include "src/types-inl.h" | 10 #include "src/types-inl.h" |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 case JS_TYPED_ARRAY_TYPE: | 238 case JS_TYPED_ARRAY_TYPE: |
239 case JS_DATA_VIEW_TYPE: | 239 case JS_DATA_VIEW_TYPE: |
240 case JS_SET_TYPE: | 240 case JS_SET_TYPE: |
241 case JS_MAP_TYPE: | 241 case JS_MAP_TYPE: |
242 case JS_SET_ITERATOR_TYPE: | 242 case JS_SET_ITERATOR_TYPE: |
243 case JS_MAP_ITERATOR_TYPE: | 243 case JS_MAP_ITERATOR_TYPE: |
244 case JS_ITERATOR_RESULT_TYPE: | 244 case JS_ITERATOR_RESULT_TYPE: |
245 case JS_WEAK_MAP_TYPE: | 245 case JS_WEAK_MAP_TYPE: |
246 case JS_WEAK_SET_TYPE: | 246 case JS_WEAK_SET_TYPE: |
247 case JS_PROMISE_TYPE: | 247 case JS_PROMISE_TYPE: |
| 248 case JS_BOUND_FUNCTION_TYPE: |
248 if (map->is_undetectable()) return kUndetectable; | 249 if (map->is_undetectable()) return kUndetectable; |
249 return kOtherObject; | 250 return kOtherObject; |
250 case JS_FUNCTION_TYPE: | 251 case JS_FUNCTION_TYPE: |
251 if (map->is_undetectable()) return kUndetectable; | 252 if (map->is_undetectable()) return kUndetectable; |
252 return kFunction; | 253 return kFunction; |
253 case JS_REGEXP_TYPE: | 254 case JS_REGEXP_TYPE: |
254 return kOtherObject; // TODO(rossberg): there should be a RegExp type. | 255 return kOtherObject; // TODO(rossberg): there should be a RegExp type. |
255 case JS_PROXY_TYPE: | 256 case JS_PROXY_TYPE: |
256 return kProxy; | 257 return kProxy; |
257 case MAP_TYPE: | 258 case MAP_TYPE: |
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1396 | 1397 |
1397 template TypeImpl<ZoneTypeConfig>::TypeHandle | 1398 template TypeImpl<ZoneTypeConfig>::TypeHandle |
1398 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( | 1399 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( |
1399 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); | 1400 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); |
1400 template TypeImpl<HeapTypeConfig>::TypeHandle | 1401 template TypeImpl<HeapTypeConfig>::TypeHandle |
1401 TypeImpl<HeapTypeConfig>::Convert<Type>( | 1402 TypeImpl<HeapTypeConfig>::Convert<Type>( |
1402 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); | 1403 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); |
1403 | 1404 |
1404 } // namespace internal | 1405 } // namespace internal |
1405 } // namespace v8 | 1406 } // namespace v8 |
OLD | NEW |