Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 626ff00931a3be3841bc5b216aff90279875e35d..f3f847e2a93749a05935af3478f4fb14670658d7 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -404,6 +404,9 @@ void FixedDoubleArray::FixedDoubleArrayVerify() { |
void ConstantPoolArray::ConstantPoolArrayVerify() { |
CHECK(IsConstantPoolArray()); |
+ for (int i = 0; i < count_of_heap_ptr_entries(); i++) { |
+ VerifyObjectField(OffsetOfElementAt(first_heap_ptr_index() + i)); |
+ } |
Michael Starzinger
2014/03/07 15:07:47
Can we also verify that all code_ptr entries point
rmcilroy
2014/03/10 14:03:05
Done.
|
} |