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

Unified Diff: runtime/vm/megamorphic_cache_table.h

Issue 1336763002: Last snapshot bits to get working precompiled hello_world on x64. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync Created 5 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/megamorphic_cache_table.h
diff --git a/runtime/vm/megamorphic_cache_table.h b/runtime/vm/megamorphic_cache_table.h
index eafb35b12b6ed45d8f656c62668d1518adad1f10..2297dc9821247e8dabe8aa1814830ec4f51a2628 100644
--- a/runtime/vm/megamorphic_cache_table.h
+++ b/runtime/vm/megamorphic_cache_table.h
@@ -18,6 +18,8 @@ class RawCode;
class RawMegamorphicCache;
class RawString;
class String;
+class SnapshotReader;
+class SnapshotWriter;
class MegamorphicCacheTable {
public:
@@ -33,6 +35,9 @@ class MegamorphicCacheTable {
void PrintSizes();
+ void ReadFrom(SnapshotReader* reader);
+ void WriteTo(SnapshotWriter* writer);
siva 2015/09/14 21:29:34 This change seems to be in the other CL too.
rmacnak 2015/09/15 20:07:45 Dropped.
+
private:
struct Entry {
RawString* name;

Powered by Google App Engine
This is Rietveld 408576698