| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index 93da2ed3874960606958888ae0255eaf00745a4a..35a7e48e46133db7ed4e68ac2dfdcb03612b5a77 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -225,6 +225,8 @@ void ByteArray::ByteArrayVerify() {
|
| void BytecodeArray::BytecodeArrayVerify() {
|
| // TODO(oth): Walk bytecodes and immediate values to validate sanity.
|
| CHECK(IsBytecodeArray());
|
| + CHECK(constant_pool()->IsFixedArray());
|
| + VerifyHeapPointer(constant_pool());
|
| }
|
|
|
|
|
|
|