Index: runtime/vm/snapshot.cc |
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc |
index 5ab4697f865893740f448bc779d107658ed8a8ff..8a755bdb3f51b9dad33b62b2d2e0b22f9aab2db4 100644 |
--- a/runtime/vm/snapshot.cc |
+++ b/runtime/vm/snapshot.cc |
@@ -264,7 +264,7 @@ RawClass* SnapshotReader::ReadClassId(intptr_t object_id) { |
RawObject* SnapshotReader::ReadStaticImplicitClosure(intptr_t object_id, |
intptr_t class_header) { |
- ASSERT(kind_ == Snapshot::kMessage); |
+ ASSERT(kind_ != Snapshot::kFull); |
// First create a function object and associate it with the specified |
// 'object_id'. |