| Index: runtime/vm/snapshot.h
|
| diff --git a/runtime/vm/snapshot.h b/runtime/vm/snapshot.h
|
| index f612073aa625f5b310bc441067282e8e61547096..820dfcdc7940d021b1201f266ba5890d4a7485d5 100644
|
| --- a/runtime/vm/snapshot.h
|
| +++ b/runtime/vm/snapshot.h
|
| @@ -442,6 +442,7 @@ class SnapshotReader : public BaseReader {
|
| RawObject* AllocateUninitialized(intptr_t class_id, intptr_t size);
|
|
|
| RawClass* ReadClassId(intptr_t object_id);
|
| + RawFunction* ReadFunctionId(intptr_t object_id);
|
| RawObject* ReadStaticImplicitClosure(intptr_t object_id, intptr_t cls_header);
|
|
|
| // Implementation to read an object.
|
| @@ -876,6 +877,8 @@ class SnapshotWriter : public BaseWriter {
|
| return instructions_writer_->SetInstructionsCode(instructions, code);
|
| }
|
|
|
| + void WriteFunctionId(RawFunction* func, bool owner_is_class);
|
| +
|
| protected:
|
| void UnmarkAll() {
|
| if (!unmarked_objects_ && forward_list_ != NULL) {
|
|
|