| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index 626ff00931a3be3841bc5b216aff90279875e35d..205923376aa41222ef1bb4e39200ce58e0a869f4 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -404,6 +404,13 @@ void FixedDoubleArray::FixedDoubleArrayVerify() {
|
|
|
| void ConstantPoolArray::ConstantPoolArrayVerify() {
|
| CHECK(IsConstantPoolArray());
|
| + for (int i = 0; i < count_of_code_ptr_entries(); i++) {
|
| + Address code_entry = get_code_ptr_entry(first_code_ptr_index() + i);
|
| + VerifyPointer(Code::GetCodeFromTargetAddress(code_entry));
|
| + }
|
| + for (int i = 0; i < count_of_heap_ptr_entries(); i++) {
|
| + VerifyObjectField(OffsetOfElementAt(first_heap_ptr_index() + i));
|
| + }
|
| }
|
|
|
|
|
|
|