| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index f770533a1b8f5e09da39d87776bc23d914a09414..8459b18d227bd8727464f7ae0847134b00726aee 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -339,7 +339,9 @@ void JSObject::JSObjectVerify() {
|
| DescriptorArray* descriptors = map()->instance_descriptors();
|
| Isolate* isolate = GetIsolate();
|
| for (int i = 0; i < map()->NumberOfOwnDescriptors(); i++) {
|
| - if (descriptors->GetDetails(i).type() == DATA) {
|
| + PropertyDetails details = descriptors->GetDetails(i);
|
| + if (details.location() == kField) {
|
| + DCHECK_EQ(kData, details.kind());
|
| Representation r = descriptors->GetDetails(i).representation();
|
| FieldIndex index = FieldIndex::ForDescriptor(map(), i);
|
| if (IsUnboxedDoubleField(index)) {
|
|
|