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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 map == heap->optimized_out_map()); | 195 map == heap->optimized_out_map()); |
196 return kInternal & kTaggedPointer; | 196 return kInternal & kTaggedPointer; |
197 } | 197 } |
198 case HEAP_NUMBER_TYPE: | 198 case HEAP_NUMBER_TYPE: |
199 return kNumber & kTaggedPointer; | 199 return kNumber & kTaggedPointer; |
200 case SIMD128_VALUE_TYPE: | 200 case SIMD128_VALUE_TYPE: |
201 return kSimd; | 201 return kSimd; |
202 case JS_OBJECT_TYPE: | 202 case JS_OBJECT_TYPE: |
203 case JS_GLOBAL_OBJECT_TYPE: | 203 case JS_GLOBAL_OBJECT_TYPE: |
204 case JS_GLOBAL_PROXY_TYPE: | 204 case JS_GLOBAL_PROXY_TYPE: |
| 205 case JS_API_OBJECT_TYPE: |
205 case JS_SPECIAL_API_OBJECT_TYPE: | 206 case JS_SPECIAL_API_OBJECT_TYPE: |
206 if (map->is_undetectable()) return kOtherUndetectable; | 207 if (map->is_undetectable()) return kOtherUndetectable; |
207 return kOtherObject; | 208 return kOtherObject; |
208 case JS_VALUE_TYPE: | 209 case JS_VALUE_TYPE: |
209 case JS_MESSAGE_OBJECT_TYPE: | 210 case JS_MESSAGE_OBJECT_TYPE: |
210 case JS_DATE_TYPE: | 211 case JS_DATE_TYPE: |
211 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 212 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
212 case JS_GENERATOR_OBJECT_TYPE: | 213 case JS_GENERATOR_OBJECT_TYPE: |
213 case JS_MODULE_TYPE: | 214 case JS_MODULE_TYPE: |
214 case JS_ARRAY_BUFFER_TYPE: | 215 case JS_ARRAY_BUFFER_TYPE: |
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 #undef CONSTRUCT_SIMD_TYPE | 1267 #undef CONSTRUCT_SIMD_TYPE |
1267 | 1268 |
1268 // ----------------------------------------------------------------------------- | 1269 // ----------------------------------------------------------------------------- |
1269 // Instantiations. | 1270 // Instantiations. |
1270 | 1271 |
1271 template class Type::Iterator<i::Map>; | 1272 template class Type::Iterator<i::Map>; |
1272 template class Type::Iterator<i::Object>; | 1273 template class Type::Iterator<i::Object>; |
1273 | 1274 |
1274 } // namespace internal | 1275 } // namespace internal |
1275 } // namespace v8 | 1276 } // namespace v8 |
OLD | NEW |