| 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 // When compiling stub templates, the meta map is used as a place holder | 259 // When compiling stub templates, the meta map is used as a place holder |
| 260 // for the actual map with which the template is later instantiated. | 260 // for the actual map with which the template is later instantiated. |
| 261 // We treat it as a kind of type variable whose upper bound is Any. | 261 // We treat it as a kind of type variable whose upper bound is Any. |
| 262 // TODO(rossberg): for caching of CompareNilIC stubs to work correctly, | 262 // TODO(rossberg): for caching of CompareNilIC stubs to work correctly, |
| 263 // we must exclude Undetectable here. This makes no sense, really, | 263 // we must exclude Undetectable here. This makes no sense, really, |
| 264 // because it means that the template isn't actually parametric. | 264 // because it means that the template isn't actually parametric. |
| 265 // Also, it doesn't apply elsewhere. 8-( | 265 // Also, it doesn't apply elsewhere. 8-( |
| 266 // We ought to find a cleaner solution for compiling stubs parameterised | 266 // We ought to find a cleaner solution for compiling stubs parameterised |
| 267 // over type or class variables, esp ones with bounds... | 267 // over type or class variables, esp ones with bounds... |
| 268 return kDetectable & kTaggedPointer; | 268 return kDetectable & kTaggedPointer; |
| 269 case ALLOCATION_SITE_TYPE: |
| 269 case DECLARED_ACCESSOR_INFO_TYPE: | 270 case DECLARED_ACCESSOR_INFO_TYPE: |
| 270 case EXECUTABLE_ACCESSOR_INFO_TYPE: | 271 case EXECUTABLE_ACCESSOR_INFO_TYPE: |
| 271 case SHARED_FUNCTION_INFO_TYPE: | 272 case SHARED_FUNCTION_INFO_TYPE: |
| 272 case ACCESSOR_PAIR_TYPE: | 273 case ACCESSOR_PAIR_TYPE: |
| 273 case FIXED_ARRAY_TYPE: | 274 case FIXED_ARRAY_TYPE: |
| 274 case FIXED_DOUBLE_ARRAY_TYPE: | 275 case FIXED_DOUBLE_ARRAY_TYPE: |
| 275 case BYTE_ARRAY_TYPE: | 276 case BYTE_ARRAY_TYPE: |
| 276 case BYTECODE_ARRAY_TYPE: | 277 case BYTECODE_ARRAY_TYPE: |
| 277 case FOREIGN_TYPE: | 278 case FOREIGN_TYPE: |
| 278 case SCRIPT_TYPE: | 279 case SCRIPT_TYPE: |
| (...skipping 12 matching lines...) Expand all Loading... |
| 291 #undef FIXED_TYPED_ARRAY_CASE | 292 #undef FIXED_TYPED_ARRAY_CASE |
| 292 case FILLER_TYPE: | 293 case FILLER_TYPE: |
| 293 case DECLARED_ACCESSOR_DESCRIPTOR_TYPE: | 294 case DECLARED_ACCESSOR_DESCRIPTOR_TYPE: |
| 294 case ACCESS_CHECK_INFO_TYPE: | 295 case ACCESS_CHECK_INFO_TYPE: |
| 295 case INTERCEPTOR_INFO_TYPE: | 296 case INTERCEPTOR_INFO_TYPE: |
| 296 case CALL_HANDLER_INFO_TYPE: | 297 case CALL_HANDLER_INFO_TYPE: |
| 297 case FUNCTION_TEMPLATE_INFO_TYPE: | 298 case FUNCTION_TEMPLATE_INFO_TYPE: |
| 298 case OBJECT_TEMPLATE_INFO_TYPE: | 299 case OBJECT_TEMPLATE_INFO_TYPE: |
| 299 case SIGNATURE_INFO_TYPE: | 300 case SIGNATURE_INFO_TYPE: |
| 300 case TYPE_SWITCH_INFO_TYPE: | 301 case TYPE_SWITCH_INFO_TYPE: |
| 301 case ALLOCATION_SITE_TYPE: | |
| 302 case ALLOCATION_MEMENTO_TYPE: | 302 case ALLOCATION_MEMENTO_TYPE: |
| 303 case CODE_CACHE_TYPE: | 303 case CODE_CACHE_TYPE: |
| 304 case POLYMORPHIC_CODE_CACHE_TYPE: | 304 case POLYMORPHIC_CODE_CACHE_TYPE: |
| 305 case TYPE_FEEDBACK_INFO_TYPE: | 305 case TYPE_FEEDBACK_INFO_TYPE: |
| 306 case ALIASED_ARGUMENTS_ENTRY_TYPE: | 306 case ALIASED_ARGUMENTS_ENTRY_TYPE: |
| 307 case BOX_TYPE: | 307 case BOX_TYPE: |
| 308 case DEBUG_INFO_TYPE: | 308 case DEBUG_INFO_TYPE: |
| 309 case BREAK_POINT_INFO_TYPE: | 309 case BREAK_POINT_INFO_TYPE: |
| 310 case CELL_TYPE: | 310 case CELL_TYPE: |
| 311 case WEAK_CELL_TYPE: | 311 case WEAK_CELL_TYPE: |
| (...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1396 | 1396 |
| 1397 template TypeImpl<ZoneTypeConfig>::TypeHandle | 1397 template TypeImpl<ZoneTypeConfig>::TypeHandle |
| 1398 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( | 1398 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( |
| 1399 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); | 1399 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); |
| 1400 template TypeImpl<HeapTypeConfig>::TypeHandle | 1400 template TypeImpl<HeapTypeConfig>::TypeHandle |
| 1401 TypeImpl<HeapTypeConfig>::Convert<Type>( | 1401 TypeImpl<HeapTypeConfig>::Convert<Type>( |
| 1402 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); | 1402 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); |
| 1403 | 1403 |
| 1404 } // namespace internal | 1404 } // namespace internal |
| 1405 } // namespace v8 | 1405 } // namespace v8 |
| OLD | NEW |