| Index: src/string-stream.cc
|
| diff --git a/src/string-stream.cc b/src/string-stream.cc
|
| index 04f8c271fd515dd834b337138b23f82e32bf0549..650b3cf93a2f300df41b7209db5243516d84d4c7 100644
|
| --- a/src/string-stream.cc
|
| +++ b/src/string-stream.cc
|
| @@ -304,7 +304,8 @@ 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) {
|
| + DCHECK_EQ(kData, details.kind());
|
| Object* key = descs->GetKey(i);
|
| if (key->IsString() || key->IsNumber()) {
|
| int len = 3;
|
|
|