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

Side by Side Diff: src/serialize.h

Issue 6309012: * Complete new store buffer on ia32. The store buffer now covers... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 11 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 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 static void SetSnapshotCacheSize(int size); 181 static void SetSnapshotCacheSize(int size);
182 182
183 protected: 183 protected:
184 // Where the pointed-to object can be found: 184 // Where the pointed-to object can be found:
185 enum Where { 185 enum Where {
186 kNewObject = 0, // Object is next in snapshot. 186 kNewObject = 0, // Object is next in snapshot.
187 // 1-8 One per space. 187 // 1-8 One per space.
188 kRootArray = 0x9, // Object is found in root array. 188 kRootArray = 0x9, // Object is found in root array.
189 kPartialSnapshotCache = 0xa, // Object is in the cache. 189 kPartialSnapshotCache = 0xa, // Object is in the cache.
190 kExternalReference = 0xb, // Pointer to an external reference. 190 kExternalReference = 0xb, // Pointer to an external reference.
191 // 0xc-0xf Free. 191 kSkip = 0xc, // Skip a pointer sized cell.
192 // 0xd-0xf Free.
192 kBackref = 0x10, // Object is described relative to end. 193 kBackref = 0x10, // Object is described relative to end.
193 // 0x11-0x18 One per space. 194 // 0x11-0x18 One per space.
194 // 0x19-0x1f Common backref offsets. 195 // 0x19-0x1f Common backref offsets.
195 kFromStart = 0x20, // Object is described relative to start. 196 kFromStart = 0x20, // Object is described relative to start.
196 // 0x21-0x28 One per space. 197 // 0x21-0x28 One per space.
197 // 0x29-0x2f Free. 198 // 0x29-0x2f Free.
198 // 0x30-0x3f Used by misc tags below. 199 // 0x30-0x3f Used by misc tags below.
199 kPointedToMask = 0x3f 200 kPointedToMask = 0x3f
200 }; 201 };
201 202
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 virtual int RootIndex(HeapObject* o) { return kInvalidRootIndex; } 576 virtual int RootIndex(HeapObject* o) { return kInvalidRootIndex; }
576 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) { 577 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) {
577 return false; 578 return false;
578 } 579 }
579 }; 580 };
580 581
581 582
582 } } // namespace v8::internal 583 } } // namespace v8::internal
583 584
584 #endif // V8_SERIALIZE_H_ 585 #endif // V8_SERIALIZE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698