Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 877a9d51da7b1057e576ee8f1af398183d9fffd7..762354e184586b41377857b7a16ce2e2efa4555d 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(); |
- FieldIndex index = FieldIndex::ForDescriptor(map(), i); |
- Object* value = RawFastPropertyAt(index); |
+ int field = descriptors->GetFieldIndex(i); |
+ Object* value = RawFastPropertyAt(field); |
if (r.IsDouble()) ASSERT(value->IsHeapNumber()); |
if (value->IsUninitialized()) continue; |
if (r.IsSmi()) ASSERT(value->IsSmi()); |