OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/api.h" | 8 #include "src/api.h" |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/base/once.h" | 10 #include "src/base/once.h" |
(...skipping 3493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3504 case kPolymorphicCodeCacheRootIndex: | 3504 case kPolymorphicCodeCacheRootIndex: |
3505 case kEmptyScriptRootIndex: | 3505 case kEmptyScriptRootIndex: |
3506 case kSymbolRegistryRootIndex: | 3506 case kSymbolRegistryRootIndex: |
3507 case kMaterializedObjectsRootIndex: | 3507 case kMaterializedObjectsRootIndex: |
3508 case kAllocationSitesScratchpadRootIndex: | 3508 case kAllocationSitesScratchpadRootIndex: |
3509 case kMicrotaskQueueRootIndex: | 3509 case kMicrotaskQueueRootIndex: |
3510 case kDetachedContextsRootIndex: | 3510 case kDetachedContextsRootIndex: |
3511 case kWeakObjectToCodeTableRootIndex: | 3511 case kWeakObjectToCodeTableRootIndex: |
3512 case kRetainedMapsRootIndex: | 3512 case kRetainedMapsRootIndex: |
3513 case kWeakStackTraceListRootIndex: | 3513 case kWeakStackTraceListRootIndex: |
| 3514 case kInterpreterTableRootIndex: |
3514 // Smi values | 3515 // Smi values |
3515 #define SMI_ENTRY(type, name, Name) case k##Name##RootIndex: | 3516 #define SMI_ENTRY(type, name, Name) case k##Name##RootIndex: |
3516 SMI_ROOT_LIST(SMI_ENTRY) | 3517 SMI_ROOT_LIST(SMI_ENTRY) |
3517 #undef SMI_ENTRY | 3518 #undef SMI_ENTRY |
3518 // String table | 3519 // String table |
3519 case kStringTableRootIndex: | 3520 case kStringTableRootIndex: |
3520 return true; | 3521 return true; |
3521 | 3522 |
3522 default: | 3523 default: |
3523 return false; | 3524 return false; |
(...skipping 3399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6923 *object_type = "CODE_TYPE"; \ | 6924 *object_type = "CODE_TYPE"; \ |
6924 *object_sub_type = "CODE_AGE/" #name; \ | 6925 *object_sub_type = "CODE_AGE/" #name; \ |
6925 return true; | 6926 return true; |
6926 CODE_AGE_LIST_COMPLETE(COMPARE_AND_RETURN_NAME) | 6927 CODE_AGE_LIST_COMPLETE(COMPARE_AND_RETURN_NAME) |
6927 #undef COMPARE_AND_RETURN_NAME | 6928 #undef COMPARE_AND_RETURN_NAME |
6928 } | 6929 } |
6929 return false; | 6930 return false; |
6930 } | 6931 } |
6931 } // namespace internal | 6932 } // namespace internal |
6932 } // namespace v8 | 6933 } // namespace v8 |
OLD | NEW |