Index: src/json-stringifier.h |
diff --git a/src/json-stringifier.h b/src/json-stringifier.h |
index f6149ae36d850fc7f85a5d90c0b07b5dd14e2c77..23927b162edc09514d3cadb77efa3a604ed5fb32 100644 |
--- a/src/json-stringifier.h |
+++ b/src/json-stringifier.h |
@@ -657,10 +657,8 @@ BasicJsonStringifier::Result BasicJsonStringifier::SerializeJSObject( |
if (details.IsDontEnum()) continue; |
Handle<Object> property; |
if (details.type() == FIELD && *map == object->map()) { |
- property = Handle<Object>( |
- object->RawFastPropertyAt( |
- map->instance_descriptors()->GetFieldIndex(i)), |
- isolate_); |
+ property = Handle<Object>(object->RawFastPropertyAt( |
+ FieldIndex::ForDescriptor(*map, i)), isolate_); |
} else { |
ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
isolate_, property, |