| Index: src/runtime/runtime-array.cc
|
| diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc
|
| index e031c8e79bade5d1671c954edf063d37f4b801be..06e5f312304fc9e70a5287ba570431d006cc4d0c 100644
|
| --- a/src/runtime/runtime-array.cc
|
| +++ b/src/runtime/runtime-array.cc
|
| @@ -211,8 +211,9 @@
|
| // collecting keys in that case.
|
| return *isolate->factory()->NewNumberFromUint(length);
|
| }
|
| + accumulator.NextPrototype();
|
| Handle<JSObject> current = PrototypeIterator::GetCurrent<JSObject>(iter);
|
| - accumulator.CollectOwnElementIndices(array, current);
|
| + accumulator.CollectOwnElementIndices(current);
|
| }
|
| // Erase any keys >= length.
|
| Handle<FixedArray> keys = accumulator.GetKeys(KEEP_NUMBERS);
|
|
|