| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 DCHECK(map == heap->the_hole_map() || | 222 DCHECK(map == heap->the_hole_map() || |
| 223 map == heap->uninitialized_map() || | 223 map == heap->uninitialized_map() || |
| 224 map == heap->no_interceptor_result_sentinel_map() || | 224 map == heap->no_interceptor_result_sentinel_map() || |
| 225 map == heap->termination_exception_map() || | 225 map == heap->termination_exception_map() || |
| 226 map == heap->arguments_marker_map()); | 226 map == heap->arguments_marker_map()); |
| 227 return kInternal & kTaggedPointer; | 227 return kInternal & kTaggedPointer; |
| 228 } | 228 } |
| 229 case HEAP_NUMBER_TYPE: | 229 case HEAP_NUMBER_TYPE: |
| 230 return kNumber & kTaggedPointer; | 230 return kNumber & kTaggedPointer; |
| 231 case FLOAT32X4_TYPE: | 231 case FLOAT32X4_TYPE: |
| 232 case INT32X4_TYPE: |
| 233 case BOOL32X4_TYPE: |
| 234 case INT16X8_TYPE: |
| 235 case BOOL16X8_TYPE: |
| 236 case INT8X16_TYPE: |
| 237 case BOOL8X16_TYPE: |
| 232 // TODO(bbudge): Add type bits for SIMD value types. | 238 // TODO(bbudge): Add type bits for SIMD value types. |
| 233 return kAny; | 239 return kAny; |
| 234 case JS_VALUE_TYPE: | 240 case JS_VALUE_TYPE: |
| 235 case JS_DATE_TYPE: | 241 case JS_DATE_TYPE: |
| 236 case JS_OBJECT_TYPE: | 242 case JS_OBJECT_TYPE: |
| 237 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 243 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
| 238 case JS_GENERATOR_OBJECT_TYPE: | 244 case JS_GENERATOR_OBJECT_TYPE: |
| 239 case JS_MODULE_TYPE: | 245 case JS_MODULE_TYPE: |
| 240 case JS_BUILTINS_OBJECT_TYPE: | 246 case JS_BUILTINS_OBJECT_TYPE: |
| 241 case JS_GLOBAL_OBJECT_TYPE: | 247 case JS_GLOBAL_OBJECT_TYPE: |
| (...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1365 | 1371 |
| 1366 template TypeImpl<ZoneTypeConfig>::TypeHandle | 1372 template TypeImpl<ZoneTypeConfig>::TypeHandle |
| 1367 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( | 1373 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( |
| 1368 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); | 1374 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); |
| 1369 template TypeImpl<HeapTypeConfig>::TypeHandle | 1375 template TypeImpl<HeapTypeConfig>::TypeHandle |
| 1370 TypeImpl<HeapTypeConfig>::Convert<Type>( | 1376 TypeImpl<HeapTypeConfig>::Convert<Type>( |
| 1371 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); | 1377 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); |
| 1372 | 1378 |
| 1373 } // namespace internal | 1379 } // namespace internal |
| 1374 } // namespace v8 | 1380 } // namespace v8 |
| OLD | NEW |