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

Unified Diff: runtime/vm/raw_object_snapshot.cc

Issue 10447045: Introduce library ids and info in the wire protocol (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« no previous file with comments | « runtime/vm/raw_object.h ('k') | tools/ddbg.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object_snapshot.cc
===================================================================
--- runtime/vm/raw_object_snapshot.cc (revision 8073)
+++ runtime/vm/raw_object_snapshot.cc (working copy)
@@ -696,6 +696,7 @@
library.set_tags(tags);
// Set all non object fields.
+ library.raw_ptr()->index_ = reader->ReadIntptrValue();
library.raw_ptr()->num_imports_ = reader->ReadIntptrValue();
library.raw_ptr()->num_imported_into_ = reader->ReadIntptrValue();
library.raw_ptr()->num_anonymous_ = reader->ReadIntptrValue();
@@ -742,6 +743,7 @@
writer->WriteObject(ptr()->url_);
} else {
// Write out all non object fields.
+ writer->WriteIntptrValue(ptr()->index_);
writer->WriteIntptrValue(ptr()->num_imports_);
writer->WriteIntptrValue(ptr()->num_imported_into_);
writer->WriteIntptrValue(ptr()->num_anonymous_);
« no previous file with comments | « runtime/vm/raw_object.h ('k') | tools/ddbg.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698