Index: runtime/vm/raw_object_snapshot.cc |
=================================================================== |
--- runtime/vm/raw_object_snapshot.cc (revision 23933) |
+++ runtime/vm/raw_object_snapshot.cc (working copy) |
@@ -1711,7 +1711,8 @@ |
if ((kind != Snapshot::kFull) && RawObject::IsCanonical(tags) && |
(RawObject::IsCreatedFromSnapshot(tags) || |
(kind == Snapshot::kMessage))) { |
- obj ^= obj.Canonicalize(); |
+ obj ^= obj.CheckAndCanonicalize(NULL); |
+ ASSERT(!obj.IsNull()); |
} |
reader->AddBackRef(object_id, &obj, kIsDeserialized); |