| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index e6c231ecc64094ebed85666b5a301fa75f6d4573..7c2a4c28c4e314b0d80acc3109a3e5e359e21a2a 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -9,6 +9,7 @@
|
| #include "src/heap/objects-visiting.h"
|
| #include "src/jsregexp.h"
|
| #include "src/macro-assembler.h"
|
| +#include "src/objects-inl.h"
|
| #include "src/ostreams.h"
|
|
|
| namespace v8 {
|
| @@ -647,7 +648,8 @@ void PropertyCell::PropertyCellVerify() {
|
|
|
| void WeakCell::WeakCellVerify() {
|
| CHECK(IsWeakCell());
|
| - VerifyObjectField(kValueOffset);
|
| + Object* value = ValueNoReadBarrier();
|
| + VerifyPointer(value);
|
| VerifyObjectField(kNextOffset);
|
| }
|
|
|
|
|