Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index e031c8e79bade5d1671c954edf063d37f4b801be..f994a14ade541157f710105961c952ebfcb4d240 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -199,7 +199,8 @@ RUNTIME_FUNCTION(Runtime_GetArrayKeys) { |
return *isolate->factory()->NewNumberFromUint(Min(actual_length, length)); |
} |
- KeyAccumulator accumulator(isolate, OWN_ONLY, ALL_PROPERTIES); |
+ KeyAccumulator accumulator(isolate, KeyCollectionMode::kOwnOnly, |
+ ALL_PROPERTIES); |
// No need to separate prototype levels since we only get element keys. |
for (PrototypeIterator iter(isolate, array, |
PrototypeIterator::START_AT_RECEIVER); |
@@ -215,7 +216,8 @@ RUNTIME_FUNCTION(Runtime_GetArrayKeys) { |
accumulator.CollectOwnElementIndices(array, current); |
} |
// Erase any keys >= length. |
- Handle<FixedArray> keys = accumulator.GetKeys(KEEP_NUMBERS); |
+ Handle<FixedArray> keys = |
+ accumulator.GetKeys(GetKeysConversion::kKeepNumbers); |
int j = 0; |
for (int i = 0; i < keys->length(); i++) { |
if (NumberToUint32(keys->get(i)) >= length) continue; |