| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index 7e0a747ac7604798847456b8ea80d1ee1fc8f337..edffc30ac028858b4de13279a7ca4ee40ea73748 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -878,6 +878,18 @@ void Box::BoxVerify() {
|
| }
|
|
|
|
|
| +void PrototypeInfo::PrototypeInfoVerify() {
|
| + CHECK(IsPrototypeInfo());
|
| + CHECK(prototype_object()->IsJSObject());
|
| + if (prototype_users()->IsWeakFixedArray()) {
|
| + WeakFixedArray::cast(prototype_users())->FixedArrayVerify();
|
| + } else {
|
| + CHECK(prototype_users()->IsSmi());
|
| + }
|
| + CHECK(validity_cell()->IsCell() || validity_cell()->IsCell());
|
| +}
|
| +
|
| +
|
| void AccessorInfo::AccessorInfoVerify() {
|
| VerifyPointer(name());
|
| VerifyPointer(flag());
|
|
|