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

Unified Diff: runtime/vm/stub_code.h

Issue 1311403009: More precompiled snapshotting. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code.h
diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h
index 3a5ffc18693b4c2f048ce1b693c9e16b72aea35b..3d3c016fc935733cfa6f59f0db97f05b2855534b 100644
--- a/runtime/vm/stub_code.h
+++ b/runtime/vm/stub_code.h
@@ -15,6 +15,8 @@ class Code;
class Isolate;
class ObjectPointerVisitor;
class RawCode;
+class SnapshotReader;
+class SnapshotWriter;
// List of stubs created in the VM isolate, these stubs are shared by different
@@ -98,6 +100,9 @@ class StubCode : public AllStatic {
// only once and the stub code resides in the vm_isolate heap.
static void InitOnce();
+ static void ReadFrom(SnapshotReader* reader);
+ static void WriteTo(SnapshotWriter* writer);
+
// Generate all stubs which are generated on a per isolate basis as they
// have embedded objects which are isolate specific.
static void Init(Isolate* isolate);
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698