Index: src/string-stream.cc |
diff --git a/src/string-stream.cc b/src/string-stream.cc |
index 04f8c271fd515dd834b337138b23f82e32bf0549..bc8b27cc4311b27bb593a6d75e160d566a138c57 100644 |
--- a/src/string-stream.cc |
+++ b/src/string-stream.cc |
@@ -304,7 +304,7 @@ void StringStream::PrintUsingMap(JSObject* js_object) { |
DescriptorArray* descs = map->instance_descriptors(); |
for (int i = 0; i < real_size; i++) { |
PropertyDetails details = descs->GetDetails(i); |
- if (details.type() == DATA) { |
+ if (details.location() == kField) { |
Object* key = descs->GetKey(i); |
if (key->IsString() || key->IsNumber()) { |
int len = 3; |