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