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

Unified Diff: runtime/vm/raw_object_snapshot.cc

Issue 10979058: - Implement first class types in the VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/raw_object_snapshot.cc
===================================================================
--- runtime/vm/raw_object_snapshot.cc (revision 12980)
+++ runtime/vm/raw_object_snapshot.cc (working copy)
@@ -229,7 +229,7 @@
writer->WriteInlinedObjectHeader(object_id);
// Write out the class and tags information.
- writer->WriteVMIsolateObject(kTypeCid);
+ writer->WriteIndexedObject(kTypeCid);
writer->WriteIntptrValue(writer->GetObjectTags(this));
// Write out all the non object pointer fields.
@@ -284,7 +284,7 @@
writer->WriteInlinedObjectHeader(object_id);
// Write out the class and tags information.
- writer->WriteVMIsolateObject(kTypeParameterCid);
+ writer->WriteIndexedObject(kTypeParameterCid);
writer->WriteIntptrValue(writer->GetObjectTags(this));
// Write out all the non object pointer fields.
« runtime/lib/object.cc ('K') | « runtime/vm/raw_object.h ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698