| Index: src/builtins.cc
|
| diff --git a/src/builtins.cc b/src/builtins.cc
|
| index 4d4811863133522caeae66efcc5548b5ea6aa90c..775da2ad3134aa3c8aeff35ada5e298c9f901456 100644
|
| --- a/src/builtins.cc
|
| +++ b/src/builtins.cc
|
| @@ -1634,7 +1634,7 @@ BUILTIN(ObjectAssign) {
|
| Handle<FixedArray> keys;
|
| ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| isolate, keys,
|
| - JSReceiver::GetKeys(from, OWN_ONLY, ALL_PROPERTIES, KEEP_NUMBERS));
|
| + KeyAccumulator::GetKeys(from, OWN_ONLY, ALL_PROPERTIES, KEEP_NUMBERS));
|
| // 4c. Repeat for each element nextKey of keys in List order,
|
| for (int j = 0; j < keys->length(); ++j) {
|
| Handle<Object> next_key(keys->get(j), isolate);
|
| @@ -1913,7 +1913,7 @@ Object* GetOwnPropertyKeys(Isolate* isolate,
|
| Handle<FixedArray> keys;
|
| ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| isolate, keys,
|
| - JSReceiver::GetKeys(receiver, OWN_ONLY, filter, CONVERT_TO_STRING));
|
| + KeyAccumulator::GetKeys(receiver, OWN_ONLY, filter, CONVERT_TO_STRING));
|
| return *isolate->factory()->NewJSArrayWithElements(keys);
|
| }
|
|
|
| @@ -2009,8 +2009,8 @@ BUILTIN(ObjectKeys) {
|
| } else {
|
| ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| isolate, keys,
|
| - JSReceiver::GetKeys(receiver, OWN_ONLY, ENUMERABLE_STRINGS,
|
| - CONVERT_TO_STRING));
|
| + KeyAccumulator::GetKeys(receiver, OWN_ONLY, ENUMERABLE_STRINGS,
|
| + CONVERT_TO_STRING));
|
| }
|
| return *isolate->factory()->NewJSArrayWithElements(keys, FAST_ELEMENTS);
|
| }
|
| @@ -2052,8 +2052,8 @@ BUILTIN(ObjectGetOwnPropertyDescriptors) {
|
|
|
| Handle<FixedArray> keys;
|
| ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| - isolate, keys, JSReceiver::GetKeys(receiver, OWN_ONLY, ALL_PROPERTIES,
|
| - CONVERT_TO_STRING));
|
| + isolate, keys, KeyAccumulator::GetKeys(receiver, OWN_ONLY, ALL_PROPERTIES,
|
| + CONVERT_TO_STRING));
|
|
|
| Handle<JSObject> descriptors =
|
| isolate->factory()->NewJSObject(isolate->object_function());
|
| @@ -2726,8 +2726,8 @@ BUILTIN(ReflectOwnKeys) {
|
| Handle<FixedArray> keys;
|
| ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| isolate, keys,
|
| - JSReceiver::GetKeys(Handle<JSReceiver>::cast(target), OWN_ONLY,
|
| - ALL_PROPERTIES, CONVERT_TO_STRING));
|
| + KeyAccumulator::GetKeys(Handle<JSReceiver>::cast(target), OWN_ONLY,
|
| + ALL_PROPERTIES, CONVERT_TO_STRING));
|
| return *isolate->factory()->NewJSArrayWithElements(keys);
|
| }
|
|
|
|
|