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

Unified Diff: runtime/vm/object.h

Issue 8340017: Use a common subroutine for the snapshot reading and writing of strings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments Created 9 years, 1 month 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 | « no previous file | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index d5e8434356f4ab5049afcb8106f22f4c46fd7f69..62e715efc365617db90982c60b31ff8c2357ae5c 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2489,6 +2489,11 @@ class String : public Instance {
raw_ptr()->hash_ = Smi::New(value);
}
+ template<typename HandleType, typename ElementType>
+ static RawString* ReadFromImpl(SnapshotReader* reader,
+ intptr_t object_id,
+ bool classes_serialized);
+
HEAP_OBJECT_IMPLEMENTATION(String, Instance);
};
« no previous file with comments | « no previous file | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698