| 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);
|
|
|