Index: runtime/vm/stub_code.h |
diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h |
index 8232a4b2fa57d14126bc8c8e4596cf9b06768153..0cf7c267f7625b6b1092f8fc4a086071fb85b672 100644 |
--- a/runtime/vm/stub_code.h |
+++ b/runtime/vm/stub_code.h |
@@ -17,6 +17,8 @@ class ObjectPointerVisitor; |
class RawCode; |
class SnapshotReader; |
class SnapshotWriter; |
+class Serializer; |
+class Deserializer; |
// List of stubs created in the VM isolate, these stubs are shared by different |
// isolates running in this dart process. |
@@ -112,8 +114,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); |
+ static void Push(Serializer* serializer); |
+ static void WriteRef(Serializer* serializer); |
+ static void ReadRef(Deserializer* deserializer); |
// Generate all stubs which are generated on a per isolate basis as they |
// have embedded objects which are isolate specific. |