Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index 59c86951c5d7826573bcf0d9ca67c64d8cd0bd9b..519df7784bca7a1506229f1f2da7491830beb5c9 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -213,7 +213,7 @@ RUNTIME_FUNCTION(Runtime_GetArrayKeys) { |
} |
accumulator.NextPrototype(); |
Handle<JSObject> current = PrototypeIterator::GetCurrent<JSObject>(iter); |
- accumulator.CollectOwnElementKeys(current); |
+ accumulator.CollectOwnElementIndices(current); |
} |
// Erase any keys >= length. |
Handle<FixedArray> keys = accumulator.GetKeys(KEEP_NUMBERS); |