Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 748b420cda863facede6c0e056da75ad721bd7e8..6644a3c97f6a8b32615640b96ccf8d4bf5b2caae 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -3702,9 +3702,9 @@ MaybeHandle<Object> ArrayConstructInitializeElements(Handle<JSArray> array, |
JSArray::Initialize(array, JSArray::kPreallocatedArrayElements); |
return array; |
- } else if (args->length() == 1 && args->at<Object>(0)->IsNumber()) { |
+ } else if (args->length() == 1 && args->at(0)->IsNumber()) { |
uint32_t length; |
- if (!args->at<Object>(0)->ToArrayLength(&length)) { |
+ if (!args->at(0)->ToArrayLength(&length)) { |
return ThrowArrayLengthRangeError(array->GetIsolate()); |
} |