| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index ed1a53cfff39f9b17eb73f36f234bd60801c0ce6..397c27950e41701851d39cf33af47d38c27724cc 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -882,13 +882,13 @@ void Box::BoxVerify() {
|
|
|
| void PrototypeInfo::PrototypeInfoVerify() {
|
| CHECK(IsPrototypeInfo());
|
| - CHECK(prototype_object()->IsJSObject());
|
| + CHECK(prototype_object()->IsJSObject() || prototype_object()->IsSmi());
|
| if (prototype_users()->IsWeakFixedArray()) {
|
| WeakFixedArray::cast(prototype_users())->FixedArrayVerify();
|
| } else {
|
| CHECK(prototype_users()->IsSmi());
|
| }
|
| - CHECK(validity_cell()->IsCell() || validity_cell()->IsCell());
|
| + CHECK(validity_cell()->IsCell() || validity_cell()->IsSmi());
|
| }
|
|
|
|
|
|
|