| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index 762354e184586b41377857b7a16ce2e2efa4555d..877a9d51da7b1057e576ee8f1af398183d9fffd7 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -261,8 +261,8 @@ void JSObject::JSObjectVerify() {
|
| for (int i = 0; i < map()->NumberOfOwnDescriptors(); i++) {
|
| if (descriptors->GetDetails(i).type() == FIELD) {
|
| Representation r = descriptors->GetDetails(i).representation();
|
| - int field = descriptors->GetFieldIndex(i);
|
| - Object* value = RawFastPropertyAt(field);
|
| + FieldIndex index = FieldIndex::ForDescriptor(map(), i);
|
| + Object* value = RawFastPropertyAt(index);
|
| if (r.IsDouble()) ASSERT(value->IsHeapNumber());
|
| if (value->IsUninitialized()) continue;
|
| if (r.IsSmi()) ASSERT(value->IsSmi());
|
|
|