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

Side by Side Diff: src/serialize.h

Issue 7945009: Merge experimental/gc branch to the bleeding_edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 3 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/scanner.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 static void SetSnapshotCacheSize(int size); 231 static void SetSnapshotCacheSize(int size);
232 232
233 protected: 233 protected:
234 // Where the pointed-to object can be found: 234 // Where the pointed-to object can be found:
235 enum Where { 235 enum Where {
236 kNewObject = 0, // Object is next in snapshot. 236 kNewObject = 0, // Object is next in snapshot.
237 // 1-8 One per space. 237 // 1-8 One per space.
238 kRootArray = 0x9, // Object is found in root array. 238 kRootArray = 0x9, // Object is found in root array.
239 kPartialSnapshotCache = 0xa, // Object is in the cache. 239 kPartialSnapshotCache = 0xa, // Object is in the cache.
240 kExternalReference = 0xb, // Pointer to an external reference. 240 kExternalReference = 0xb, // Pointer to an external reference.
241 // 0xc-0xf Free. 241 kSkip = 0xc, // Skip a pointer sized cell.
242 // 0xd-0xf Free.
242 kBackref = 0x10, // Object is described relative to end. 243 kBackref = 0x10, // Object is described relative to end.
243 // 0x11-0x18 One per space. 244 // 0x11-0x18 One per space.
244 // 0x19-0x1f Common backref offsets. 245 // 0x19-0x1f Common backref offsets.
245 kFromStart = 0x20, // Object is described relative to start. 246 kFromStart = 0x20, // Object is described relative to start.
246 // 0x21-0x28 One per space. 247 // 0x21-0x28 One per space.
247 // 0x29-0x2f Free. 248 // 0x29-0x2f Free.
248 // 0x30-0x3f Used by misc tags below. 249 // 0x30-0x3f Used by misc tags below.
249 kPointedToMask = 0x3f 250 kPointedToMask = 0x3f
250 }; 251 };
251 252
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 virtual int RootIndex(HeapObject* o) { return kInvalidRootIndex; } 628 virtual int RootIndex(HeapObject* o) { return kInvalidRootIndex; }
628 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) { 629 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) {
629 return false; 630 return false;
630 } 631 }
631 }; 632 };
632 633
633 634
634 } } // namespace v8::internal 635 } } // namespace v8::internal
635 636
636 #endif // V8_SERIALIZE_H_ 637 #endif // V8_SERIALIZE_H_
OLDNEW
« no previous file with comments | « src/scanner.cc ('k') | src/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698