| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index 6c13a5e732bc8b24b6b34947caf2528c7ac35398..635bd6140ee177ecd7d4fdd77775971f33a99b67 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -67,9 +67,6 @@ 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;
|
| @@ -404,20 +401,6 @@ void FixedDoubleArray::FixedDoubleArrayVerify() {
|
| }
|
|
|
|
|
| -void ConstantPoolArray::ConstantPoolArrayVerify() {
|
| - CHECK(IsConstantPoolArray());
|
| - ConstantPoolArray::Iterator code_iter(this, ConstantPoolArray::CODE_PTR);
|
| - while (!code_iter.is_finished()) {
|
| - Address code_entry = get_code_ptr_entry(code_iter.next_index());
|
| - VerifyPointer(Code::GetCodeFromTargetAddress(code_entry));
|
| - }
|
| - ConstantPoolArray::Iterator heap_iter(this, ConstantPoolArray::HEAP_PTR);
|
| - while (!heap_iter.is_finished()) {
|
| - VerifyObjectField(OffsetOfElementAt(heap_iter.next_index()));
|
| - }
|
| -}
|
| -
|
| -
|
| 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
|
|
|