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

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: returns handles, added tests 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
« no previous file with comments | « src/isolate.cc ('k') | src/serialize.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 10049 matching lines...) Expand 10 before | Expand all | Expand 10 after
10060 V(kStrongRootList, "strong_root_list", "(Strong roots)") \ 10060 V(kStrongRootList, "strong_root_list", "(Strong roots)") \
10061 V(kInternalizedString, "internalized_string", "(Internal string)") \ 10061 V(kInternalizedString, "internalized_string", "(Internal string)") \
10062 V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \ 10062 V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \
10063 V(kTop, "top", "(Isolate)") \ 10063 V(kTop, "top", "(Isolate)") \
10064 V(kRelocatable, "relocatable", "(Relocatable)") \ 10064 V(kRelocatable, "relocatable", "(Relocatable)") \
10065 V(kDebug, "debug", "(Debugger)") \ 10065 V(kDebug, "debug", "(Debugger)") \
10066 V(kCompilationCache, "compilationcache", "(Compilation cache)") \ 10066 V(kCompilationCache, "compilationcache", "(Compilation cache)") \
10067 V(kHandleScope, "handlescope", "(Handle scope)") \ 10067 V(kHandleScope, "handlescope", "(Handle scope)") \
10068 V(kBuiltins, "builtins", "(Builtins)") \ 10068 V(kBuiltins, "builtins", "(Builtins)") \
10069 V(kGlobalHandles, "globalhandles", "(Global handles)") \ 10069 V(kGlobalHandles, "globalhandles", "(Global handles)") \
10070 V(kEternalHandles, "eternalhandles", "(Eternal handles)") \
10070 V(kThreadManager, "threadmanager", "(Thread manager)") \ 10071 V(kThreadManager, "threadmanager", "(Thread manager)") \
10071 V(kExtensions, "Extensions", "(Extensions)") 10072 V(kExtensions, "Extensions", "(Extensions)")
10072 10073
10073 class VisitorSynchronization : public AllStatic { 10074 class VisitorSynchronization : public AllStatic {
10074 public: 10075 public:
10075 #define DECLARE_ENUM(enum_item, ignore1, ignore2) enum_item, 10076 #define DECLARE_ENUM(enum_item, ignore1, ignore2) enum_item,
10076 enum SyncTag { 10077 enum SyncTag {
10077 VISITOR_SYNCHRONIZATION_TAGS_LIST(DECLARE_ENUM) 10078 VISITOR_SYNCHRONIZATION_TAGS_LIST(DECLARE_ENUM)
10078 kNumberOfSyncTags 10079 kNumberOfSyncTags
10079 }; 10080 };
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
10179 } else { 10180 } else {
10180 value &= ~(1 << bit_position); 10181 value &= ~(1 << bit_position);
10181 } 10182 }
10182 return value; 10183 return value;
10183 } 10184 }
10184 }; 10185 };
10185 10186
10186 } } // namespace v8::internal 10187 } } // namespace v8::internal
10187 10188
10188 #endif // V8_OBJECTS_H_ 10189 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698