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

Unified Diff: src/serialize.h

Issue 18173013: AllocationSite objects weakly linked for traversal (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Platform ports Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: src/serialize.h
diff --git a/src/serialize.h b/src/serialize.h
index a6099afc23f397fdcfedea0781cca8c7767c5ec2..b098f55b5d53311973d0b19be7fb319bb78bf55c 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -347,6 +347,10 @@ class Deserializer: public SerializerDeserializer {
UNREACHABLE();
}
+ // Allocation sites are present in the snapshot, and must be linked into
+ // a list at deserialization time.
+ void RelinkAllocationSite(AllocationSite* site);
+
// Fills in some heap data in an area from start to end (non-inclusive). The
// space id is used for the write barrier. The object_address is the address
// of the object we are writing into, or NULL if we are not writing into an
@@ -487,6 +491,8 @@ class Serializer : public SerializerDeserializer {
WhereToPoint where,
int skip);
+ Isolate* isolate() { return isolate_; }
Michael Starzinger 2013/07/17 11:25:30 nit: It looks like this accessor became obsolete,
mvstanton 2013/07/17 11:49:00 Done.
+
protected:
static const int kInvalidRootIndex = -1;
« src/hydrogen-instructions.h ('K') | « src/objects-visiting-inl.h ('k') | src/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698