Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index e46fbba6474552121c7c2bcb105924276515658e..be821e5efface3792a78e23c14cd01e6a41a29ce 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -15027,8 +15027,8 @@ static MaybeObject* ArrayConstructorCommon(Isolate* isolate, |
factory->NewJSArrayStorage(array, 0, 0, DONT_INITIALIZE_ARRAY_ELEMENTS); |
ElementsKind old_kind = array->GetElementsKind(); |
- RETURN_IF_EMPTY_HANDLE(isolate, |
- ArrayConstructInitializeElements(array, caller_args)); |
+ RETURN_FAILURE_ON_EXCEPTION( |
+ isolate, ArrayConstructInitializeElements(array, caller_args)); |
if (!site.is_null() && |
(old_kind != array->GetElementsKind() || |
!can_use_type_feedback)) { |