| Index: runtime/vm/snapshot.cc
|
| diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
|
| index 41959955949172ca7d6645626533c034a5227e5f..2dd79759616e8fd2c5e2b62dc9095204966de655 100644
|
| --- a/runtime/vm/snapshot.cc
|
| +++ b/runtime/vm/snapshot.cc
|
| @@ -890,7 +890,7 @@ RawTypedData* SnapshotReader::NewTypedData(intptr_t class_id, intptr_t len) {
|
|
|
|
|
| #define ALLOC_NEW_OBJECT(type) \
|
| - ASSERT(Snapshot::IsFull(kind_)); \
|
| + ASSERT(Snapshot::IsFull(kind_)); \
|
| ASSERT_NO_SAFEPOINT_SCOPE(); \
|
| return reinterpret_cast<Raw##type*>( \
|
| AllocateUninitialized(k##type##Cid, type::InstanceSize())); \
|
| @@ -901,6 +901,11 @@ RawBigint* SnapshotReader::NewBigint() {
|
| }
|
|
|
|
|
| +RawPixels* SnapshotReader::NewPixels() {
|
| + ALLOC_NEW_OBJECT(Pixels);
|
| +}
|
| +
|
| +
|
| RawUnresolvedClass* SnapshotReader::NewUnresolvedClass() {
|
| ALLOC_NEW_OBJECT(UnresolvedClass);
|
| }
|
| @@ -1696,6 +1701,7 @@ uword SnapshotWriter::GetObjectTags(RawObject* raw) {
|
| V(Mint) \
|
| V(Bigint) \
|
| V(Double) \
|
| + V(Pixels) \
|
| V(ImmutableArray) \
|
|
|
| #define VM_OBJECT_WRITE(clazz) \
|
|
|