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/handles-inl.h" | 9 #include "src/handles-inl.h" |
10 #include "src/ostreams.h" | 10 #include "src/ostreams.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 case JS_GLOBAL_OBJECT_TYPE: | 208 case JS_GLOBAL_OBJECT_TYPE: |
209 case JS_GLOBAL_PROXY_TYPE: | 209 case JS_GLOBAL_PROXY_TYPE: |
210 case JS_ARRAY_BUFFER_TYPE: | 210 case JS_ARRAY_BUFFER_TYPE: |
211 case JS_ARRAY_TYPE: | 211 case JS_ARRAY_TYPE: |
212 case JS_TYPED_ARRAY_TYPE: | 212 case JS_TYPED_ARRAY_TYPE: |
213 case JS_DATA_VIEW_TYPE: | 213 case JS_DATA_VIEW_TYPE: |
214 case JS_SET_TYPE: | 214 case JS_SET_TYPE: |
215 case JS_MAP_TYPE: | 215 case JS_MAP_TYPE: |
216 case JS_SET_ITERATOR_TYPE: | 216 case JS_SET_ITERATOR_TYPE: |
217 case JS_MAP_ITERATOR_TYPE: | 217 case JS_MAP_ITERATOR_TYPE: |
218 case JS_ITERATOR_RESULT_TYPE: | |
219 case JS_WEAK_MAP_TYPE: | 218 case JS_WEAK_MAP_TYPE: |
220 case JS_WEAK_SET_TYPE: | 219 case JS_WEAK_SET_TYPE: |
221 case JS_PROMISE_TYPE: | 220 case JS_PROMISE_TYPE: |
222 case JS_BOUND_FUNCTION_TYPE: | 221 case JS_BOUND_FUNCTION_TYPE: |
223 if (map->is_undetectable()) return kUndetectable; | 222 if (map->is_undetectable()) return kUndetectable; |
224 return kOtherObject; | 223 return kOtherObject; |
225 case JS_FUNCTION_TYPE: | 224 case JS_FUNCTION_TYPE: |
226 if (map->is_undetectable()) return kUndetectable; | 225 if (map->is_undetectable()) return kUndetectable; |
227 return kFunction; | 226 return kFunction; |
228 case JS_REGEXP_TYPE: | 227 case JS_REGEXP_TYPE: |
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1362 #undef CONSTRUCT_SIMD_TYPE | 1361 #undef CONSTRUCT_SIMD_TYPE |
1363 | 1362 |
1364 // ----------------------------------------------------------------------------- | 1363 // ----------------------------------------------------------------------------- |
1365 // Instantiations. | 1364 // Instantiations. |
1366 | 1365 |
1367 template class Type::Iterator<i::Map>; | 1366 template class Type::Iterator<i::Map>; |
1368 template class Type::Iterator<i::Object>; | 1367 template class Type::Iterator<i::Object>; |
1369 | 1368 |
1370 } // namespace internal | 1369 } // namespace internal |
1371 } // namespace v8 | 1370 } // namespace v8 |
OLD | NEW |