Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index b60e54d3135d638a52312c2b10b94bcb9b6e1039..0b5ff9932d0bb1756e7d8eadf86e598cedad5f33 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -539,6 +539,9 @@ void JSObject::JSObjectVerify() { |
(map()->inobject_properties() + properties()->length() - |
map()->NextFreePropertyIndex())); |
} |
+ ASSERT(map()->has_fast_elements() == |
+ (elements()->map() == Heap::fixed_array_map())); |
+ ASSERT(map()->has_fast_elements() == HasFastElements()); |
} |