Chromium Code Reviews| Index: src/keys.cc |
| diff --git a/src/keys.cc b/src/keys.cc |
| index b73575fad0962c5b83d890fc52ceed3677ccc959..98a5df63fdf6a04a5b52e8556e681f2f18a569af 100644 |
| --- a/src/keys.cc |
| +++ b/src/keys.cc |
| @@ -31,15 +31,17 @@ static bool ContainsOnlyValidKeys(Handle<FixedArray> array) { |
| } |
| } // namespace |
| + |
| +// static |
| MaybeHandle<FixedArray> KeyAccumulator::GetKeys( |
| Handle<JSReceiver> object, KeyCollectionMode mode, PropertyFilter filter, |
| GetKeysConversion keys_conversion, bool filter_proxy_keys, bool is_for_in) { |
| Isolate* isolate = object->GetIsolate(); |
| - KeyAccumulator accumulator(isolate, mode, filter); |
| + FastKeyAccumulator accumulator(isolate, object, mode, filter); |
| accumulator.set_filter_proxy_keys(filter_proxy_keys); |
| accumulator.set_is_for_in(is_for_in); |
| - MAYBE_RETURN(accumulator.CollectKeys(object, object), |
| - MaybeHandle<FixedArray>()); |
| + /* MAYBE_RETURN(accumulator.CollectKeys(object, object), */ |
|
Jakob Kummerow
2016/07/20 16:04:08
What's this?
|
| + /* MaybeHandle<FixedArray>()); */ |
| return accumulator.GetKeys(keys_conversion); |
| } |