| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index 4b30e28a94f2229bdad0c2a06000adc5f80b88e8..725513014da3a0b4a961fbf6657ef1336bce1913 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -880,6 +880,17 @@ void Box::BoxVerify() {
|
| }
|
|
|
|
|
| +void PrototypeInfo::PrototypeInfoVerify() {
|
| + CHECK(IsPrototypeInfo());
|
| + if (prototype_users()->IsWeakFixedArray()) {
|
| + WeakFixedArray::cast(prototype_users())->FixedArrayVerify();
|
| + } else {
|
| + CHECK(prototype_users()->IsSmi());
|
| + }
|
| + CHECK(validity_cell()->IsCell() || validity_cell()->IsSmi());
|
| +}
|
| +
|
| +
|
| void AccessorInfo::AccessorInfoVerify() {
|
| VerifyPointer(name());
|
| VerifyPointer(flag());
|
|
|