Index: runtime/vm/snapshot.cc |
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc |
index 5dcba7a71ae852fb136304aca15347afa01ca7f0..70773f520f3bcd28182d92fc3b3bf5d1510ffb80 100644 |
--- a/runtime/vm/snapshot.cc |
+++ b/runtime/vm/snapshot.cc |
@@ -30,7 +30,7 @@ static bool IsSingletonClassId(intptr_t class_id) { |
static bool IsObjectStoreClassId(intptr_t class_id) { |
// Check if this is a class which is stored in the object store. |
return (class_id == kObjectCid || |
- (class_id >= kInstanceCid && class_id <= kJSRegExpCid)); |
+ (class_id >= kInstanceCid && class_id <= kWeakPropertyCid)); |
} |