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

Unified Diff: vm/raw_object_snapshot.cc

Issue 8342046: Add an imported into list for libraries so that it is possible to lookup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years, 2 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 | « vm/raw_object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/raw_object_snapshot.cc
===================================================================
--- vm/raw_object_snapshot.cc (revision 591)
+++ vm/raw_object_snapshot.cc (working copy)
@@ -589,6 +589,7 @@
// Set all non object fields.
library.raw_ptr()->num_imports_ = reader->Read<intptr_t>();
+ library.raw_ptr()->num_imported_into_ = reader->Read<intptr_t>();
library.raw_ptr()->num_anonymous_ = reader->Read<intptr_t>();
// The native resolver is not serialized.
Dart_NativeEntryResolver resolver = reader->Read<Dart_NativeEntryResolver>();
@@ -620,6 +621,7 @@
writer->WriteObjectHeader(kObjectId, Object::kLibraryClass);
writer->Write<intptr_t>(ptr()->num_imports_);
+ writer->Write<intptr_t>(ptr()->num_imported_into_);
writer->Write<intptr_t>(ptr()->num_anonymous_);
// We do not serialize the native resolver over, this needs to be explicitly
// set after deserialization.
« no previous file with comments | « vm/raw_object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698