| Index: src/runtime/runtime-array.cc
|
| diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc
|
| index 4e8a96a6d8dfe533ff5aeb12a60253621815e879..78a346f79a45f996c02d98728a1b4a202aac2f34 100644
|
| --- a/src/runtime/runtime-array.cc
|
| +++ b/src/runtime/runtime-array.cc
|
| @@ -537,7 +537,7 @@ RUNTIME_FUNCTION(Runtime_ArrayIndexOf) {
|
| CONVERT_ARG_HANDLE_CHECKED(Object, from_index, 2);
|
|
|
| // Let O be ? ToObject(this value).
|
| - Handle<Object> receiver_obj = args.at<Object>(0);
|
| + Handle<Object> receiver_obj = args.at(0);
|
| if (receiver_obj->IsNull(isolate) || receiver_obj->IsUndefined(isolate)) {
|
| THROW_NEW_ERROR_RETURN_FAILURE(
|
| isolate, NewTypeError(MessageTemplate::kCalledOnNullOrUndefined,
|
| @@ -545,8 +545,8 @@ RUNTIME_FUNCTION(Runtime_ArrayIndexOf) {
|
| "Array.prototype.indexOf")));
|
| }
|
| Handle<JSReceiver> object;
|
| - ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| - isolate, object, Object::ToObject(isolate, args.at<Object>(0)));
|
| + ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, object,
|
| + Object::ToObject(isolate, args.at(0)));
|
|
|
| // Let len be ? ToLength(? Get(O, "length")).
|
| int64_t len;
|
|
|