Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index caf0bafd70c490165637ce89782853d961fe95cf..90b01934dfec256e8e1abb081ea467f819095679 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -95,6 +95,9 @@ void HeapObject::HeapObjectVerify() { |
case FIXED_DOUBLE_ARRAY_TYPE: |
FixedDoubleArray::cast(this)->FixedDoubleArrayVerify(); |
break; |
+ case CONSTANT_POOL_ARRAY_TYPE: |
+ ConstantPoolArray::cast(this)->ConstantPoolArrayVerify(); |
+ break; |
case BYTE_ARRAY_TYPE: |
ByteArray::cast(this)->ByteArrayVerify(); |
break; |
@@ -439,6 +442,11 @@ void FixedDoubleArray::FixedDoubleArrayVerify() { |
} |
+void ConstantPoolArray::ConstantPoolArrayVerify() { |
+ CHECK(IsConstantPoolArray()); |
+} |
+ |
+ |
void JSGeneratorObject::JSGeneratorObjectVerify() { |
// In an expression like "new g()", there can be a point where a generator |
// object is allocated but its fields are all undefined, as it hasn't yet been |