| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index 1ba0bb0d0988780dd6437e797ca25c1ac7f971b5..fc0d7be237357a9cfbdbc664dee478034e1e315a 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -254,7 +254,7 @@ void ExternalDoubleArray::ExternalDoubleArrayPrint(FILE* out) {
|
| void JSObject::PrintProperties(FILE* out) {
|
| if (HasFastProperties()) {
|
| DescriptorArray* descs = map()->instance_descriptors();
|
| - for (int i = 0; i < descs->number_of_descriptors(); i++) {
|
| + for (int i = 0; i < map()->NumberOfOwnDescriptors(); i++) {
|
| PrintF(out, " ");
|
| descs->GetKey(i)->StringPrint(out);
|
| PrintF(out, ": ");
|
|
|