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

Unified Diff: runtime/vm/snapshot.h

Issue 10450014: Request for comments on overall approach. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix scavenger and freelist handling Created 8 years, 7 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: runtime/vm/snapshot.h
diff --git a/runtime/vm/snapshot.h b/runtime/vm/snapshot.h
index ad0f2e07ba8e68ff8318dd5b2f6b83428f1a8c0a..96d5e0b4b188cace19c78bca64431a187eb8dc7e 100644
--- a/runtime/vm/snapshot.h
+++ b/runtime/vm/snapshot.h
@@ -505,16 +505,18 @@ class SnapshotWriter : public BaseWriter {
// Writes a full snapshot of the Isolate.
void WriteFullSnapshot();
+ uword GetObjectTags(RawObject* raw);
+
private:
class ForwardObjectNode : public ZoneAllocated {
public:
- ForwardObjectNode(RawObject* raw, RawClass* cls) : raw_(raw), cls_(cls) {}
+ ForwardObjectNode(RawObject* raw, uword tags) : raw_(raw), tags_(tags) {}
RawObject* raw() const { return raw_; }
- RawClass* cls() const { return cls_; }
+ uword tags() const { return tags_; }
private:
RawObject* raw_;
- RawClass* cls_;
+ uword tags_;
DISALLOW_COPY_AND_ASSIGN(ForwardObjectNode);
};
« runtime/vm/raw_object.cc ('K') | « runtime/vm/scavenger.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698