Index: src/json-stringifier.h |
diff --git a/src/json-stringifier.h b/src/json-stringifier.h |
index 393551dd9ad1f80b23c84d7e1a0e4afdd3e27638..d7caefc9e939fe57347f088cd5b0adb9c3a2ab30 100644 |
--- a/src/json-stringifier.h |
+++ b/src/json-stringifier.h |
@@ -539,7 +539,7 @@ BasicJsonStringifier::Result BasicJsonStringifier::SerializeJSObject( |
PropertyDetails details = map->instance_descriptors()->GetDetails(i); |
if (details.IsDontEnum()) continue; |
Handle<Object> property; |
- if (details.type() == FIELD && *map == object->map()) { |
+ if (details.type() == DATA && *map == object->map()) { |
FieldIndex field_index = FieldIndex::ForDescriptor(*map, i); |
Isolate* isolate = object->GetIsolate(); |
if (object->IsUnboxedDoubleField(field_index)) { |