Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index a05d1e703626b125635e9ce15ea935164545023d..e7ee7eca7731c3fe9593055f4fc2906b7ec1dfd5 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -330,6 +330,8 @@ void Map::MapVerify() { |
CHECK(instance_size() == kVariableSizeSentinel || |
(kPointerSize <= instance_size() && |
instance_size() < heap->Capacity())); |
+ CHECK(GetBackPointer()->IsUndefined() || |
+ !Map::cast(GetBackPointer())->is_stable()); |
VerifyHeapPointer(prototype()); |
VerifyHeapPointer(instance_descriptors()); |
SLOW_DCHECK(instance_descriptors()->IsSortedNoDuplicates()); |