Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index cb849d2067ad0bb02a539817e6ef9ea5221a0942..88a1e5e0322085e5a733d6fb992907e464fe0a3e 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; |