Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(776)

Side by Side Diff: src/objects.h

Issue 21133006: introduce eternal handles (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 9759 matching lines...) Expand 10 before | Expand all | Expand 10 after
9770 V(kStrongRootList, "strong_root_list", "(Strong roots)") \ 9770 V(kStrongRootList, "strong_root_list", "(Strong roots)") \
9771 V(kInternalizedString, "internalized_string", "(Internal string)") \ 9771 V(kInternalizedString, "internalized_string", "(Internal string)") \
9772 V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \ 9772 V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \
9773 V(kTop, "top", "(Isolate)") \ 9773 V(kTop, "top", "(Isolate)") \
9774 V(kRelocatable, "relocatable", "(Relocatable)") \ 9774 V(kRelocatable, "relocatable", "(Relocatable)") \
9775 V(kDebug, "debug", "(Debugger)") \ 9775 V(kDebug, "debug", "(Debugger)") \
9776 V(kCompilationCache, "compilationcache", "(Compilation cache)") \ 9776 V(kCompilationCache, "compilationcache", "(Compilation cache)") \
9777 V(kHandleScope, "handlescope", "(Handle scope)") \ 9777 V(kHandleScope, "handlescope", "(Handle scope)") \
9778 V(kBuiltins, "builtins", "(Builtins)") \ 9778 V(kBuiltins, "builtins", "(Builtins)") \
9779 V(kGlobalHandles, "globalhandles", "(Global handles)") \ 9779 V(kGlobalHandles, "globalhandles", "(Global handles)") \
9780 V(kEternalHandles, "eternalhandles", "(Eternal handles)") \
9780 V(kThreadManager, "threadmanager", "(Thread manager)") \ 9781 V(kThreadManager, "threadmanager", "(Thread manager)") \
9781 V(kExtensions, "Extensions", "(Extensions)") 9782 V(kExtensions, "Extensions", "(Extensions)")
9782 9783
9783 class VisitorSynchronization : public AllStatic { 9784 class VisitorSynchronization : public AllStatic {
9784 public: 9785 public:
9785 #define DECLARE_ENUM(enum_item, ignore1, ignore2) enum_item, 9786 #define DECLARE_ENUM(enum_item, ignore1, ignore2) enum_item,
9786 enum SyncTag { 9787 enum SyncTag {
9787 VISITOR_SYNCHRONIZATION_TAGS_LIST(DECLARE_ENUM) 9788 VISITOR_SYNCHRONIZATION_TAGS_LIST(DECLARE_ENUM)
9788 kNumberOfSyncTags 9789 kNumberOfSyncTags
9789 }; 9790 };
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
9889 } else { 9890 } else {
9890 value &= ~(1 << bit_position); 9891 value &= ~(1 << bit_position);
9891 } 9892 }
9892 return value; 9893 return value;
9893 } 9894 }
9894 }; 9895 };
9895 9896
9896 } } // namespace v8::internal 9897 } } // namespace v8::internal
9897 9898
9898 #endif // V8_OBJECTS_H_ 9899 #endif // V8_OBJECTS_H_
OLDNEW
« include/v8.h ('K') | « src/isolate.cc ('k') | src/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698