| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index 961ad51f61bd9a05407a3b39914f15d9e8fba740..0dafe03e7a88658e5acb0698d21d15387274a221 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());
|
| }
|
|
|
|
|
|
|