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 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 10963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10974 private: | 10974 private: |
10975 DISALLOW_IMPLICIT_CONSTRUCTORS(BreakPointInfo); | 10975 DISALLOW_IMPLICIT_CONSTRUCTORS(BreakPointInfo); |
10976 }; | 10976 }; |
10977 | 10977 |
10978 | 10978 |
10979 #undef DECL_BOOLEAN_ACCESSORS | 10979 #undef DECL_BOOLEAN_ACCESSORS |
10980 #undef DECL_ACCESSORS | 10980 #undef DECL_ACCESSORS |
10981 #undef DECLARE_CAST | 10981 #undef DECLARE_CAST |
10982 #undef DECLARE_VERIFIER | 10982 #undef DECLARE_VERIFIER |
10983 | 10983 |
10984 #define VISITOR_SYNCHRONIZATION_TAGS_LIST(V) \ | 10984 #define VISITOR_SYNCHRONIZATION_TAGS_LIST(V) \ |
10985 V(kStringTable, "string_table", "(Internalized strings)") \ | 10985 V(kStringTable, "string_table", "(Internalized strings)") \ |
10986 V(kExternalStringsTable, "external_strings_table", "(External strings)") \ | 10986 V(kExternalStringsTable, "external_strings_table", "(External strings)") \ |
10987 V(kStrongRootList, "strong_root_list", "(Strong roots)") \ | 10987 V(kStrongRootList, "strong_root_list", "(Strong roots)") \ |
10988 V(kSmiRootList, "smi_root_list", "(Smi roots)") \ | 10988 V(kSmiRootList, "smi_root_list", "(Smi roots)") \ |
10989 V(kInternalizedString, "internalized_string", "(Internal string)") \ | 10989 V(kInternalizedString, "internalized_string", "(Internal string)") \ |
10990 V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \ | 10990 V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \ |
10991 V(kTop, "top", "(Isolate)") \ | 10991 V(kTop, "top", "(Isolate)") \ |
10992 V(kRelocatable, "relocatable", "(Relocatable)") \ | 10992 V(kRelocatable, "relocatable", "(Relocatable)") \ |
10993 V(kDebug, "debug", "(Debugger)") \ | 10993 V(kDebug, "debug", "(Debugger)") \ |
10994 V(kCompilationCache, "compilationcache", "(Compilation cache)") \ | 10994 V(kCompilationCache, "compilationcache", "(Compilation cache)") \ |
10995 V(kHandleScope, "handlescope", "(Handle scope)") \ | 10995 V(kHandleScope, "handlescope", "(Handle scope)") \ |
10996 V(kBuiltins, "builtins", "(Builtins)") \ | 10996 V(kBuiltins, "builtins", "(Builtins)") \ |
10997 V(kGlobalHandles, "globalhandles", "(Global handles)") \ | 10997 V(kGlobalHandles, "globalhandles", "(Global handles)") \ |
10998 V(kEternalHandles, "eternalhandles", "(Eternal handles)") \ | 10998 V(kEternalHandles, "eternalhandles", "(Eternal handles)") \ |
10999 V(kThreadManager, "threadmanager", "(Thread manager)") \ | 10999 V(kThreadManager, "threadmanager", "(Thread manager)") \ |
| 11000 V(kStrongRoots, "strong roots", "(Strong roots)") \ |
11000 V(kExtensions, "Extensions", "(Extensions)") | 11001 V(kExtensions, "Extensions", "(Extensions)") |
11001 | 11002 |
11002 class VisitorSynchronization : public AllStatic { | 11003 class VisitorSynchronization : public AllStatic { |
11003 public: | 11004 public: |
11004 #define DECLARE_ENUM(enum_item, ignore1, ignore2) enum_item, | 11005 #define DECLARE_ENUM(enum_item, ignore1, ignore2) enum_item, |
11005 enum SyncTag { | 11006 enum SyncTag { |
11006 VISITOR_SYNCHRONIZATION_TAGS_LIST(DECLARE_ENUM) | 11007 VISITOR_SYNCHRONIZATION_TAGS_LIST(DECLARE_ENUM) |
11007 kNumberOfSyncTags | 11008 kNumberOfSyncTags |
11008 }; | 11009 }; |
11009 #undef DECLARE_ENUM | 11010 #undef DECLARE_ENUM |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11109 } else { | 11110 } else { |
11110 value &= ~(1 << bit_position); | 11111 value &= ~(1 << bit_position); |
11111 } | 11112 } |
11112 return value; | 11113 return value; |
11113 } | 11114 } |
11114 }; | 11115 }; |
11115 | 11116 |
11116 } } // namespace v8::internal | 11117 } } // namespace v8::internal |
11117 | 11118 |
11118 #endif // V8_OBJECTS_H_ | 11119 #endif // V8_OBJECTS_H_ |
OLD | NEW |