Index: src/string-stream.cc |
diff --git a/src/string-stream.cc b/src/string-stream.cc |
index fb73719492597880bf57091a04918156a6e350ea..480b788adcb9cd65d5c5fec1b32a8cc8452ce9e9 100644 |
--- a/src/string-stream.cc |
+++ b/src/string-stream.cc |
@@ -348,8 +348,7 @@ void StringStream::PrintUsingMap(JSObject* js_object) { |
key->ShortPrint(); |
} |
Add(": "); |
- FieldIndex index = FieldIndex::ForDescriptor(map, i); |
- Object* value = js_object->RawFastPropertyAt(index); |
+ Object* value = js_object->RawFastPropertyAt(descs->GetFieldIndex(i)); |
Add("%o\n", value); |
} |
} |