| Index: src/runtime/runtime-forin.cc
|
| diff --git a/src/runtime/runtime-forin.cc b/src/runtime/runtime-forin.cc
|
| index 6e73e36593f3943fca6c80392021f717f4628a93..1af19c61d12bec63d4c87f72f0a2d76495a9e461 100644
|
| --- a/src/runtime/runtime-forin.cc
|
| +++ b/src/runtime/runtime-forin.cc
|
| @@ -22,15 +22,16 @@ namespace {
|
| // deletions during a for-in.
|
| MaybeHandle<HeapObject> Enumerate(Handle<JSReceiver> receiver) {
|
| Isolate* const isolate = receiver->GetIsolate();
|
| - FastKeyAccumulator accumulator(isolate, receiver, INCLUDE_PROTOS,
|
| - ENUMERABLE_STRINGS);
|
| + FastKeyAccumulator accumulator(
|
| + isolate, receiver, KeyCollectionMode::INCLUDE_PROTOS, ENUMERABLE_STRINGS);
|
| accumulator.set_filter_proxy_keys(false);
|
| accumulator.set_is_for_in(true);
|
| // Test if we have an enum cache for {receiver}.
|
| if (!accumulator.is_receiver_simple_enum()) {
|
| Handle<FixedArray> keys;
|
| - ASSIGN_RETURN_ON_EXCEPTION(isolate, keys, accumulator.GetKeys(KEEP_NUMBERS),
|
| - HeapObject);
|
| + ASSIGN_RETURN_ON_EXCEPTION(
|
| + isolate, keys, accumulator.GetKeys(GetKeysConversion::KEEP_NUMBERS),
|
| + HeapObject);
|
| // Test again, since cache may have been built by GetKeys() calls above.
|
| if (!accumulator.is_receiver_simple_enum()) return keys;
|
| }
|
|
|