Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index e709720e2504531e6b19ef17585ddc2d3a9c9594..ecd9a9121b6890cae6b0b886d79a5f638e24da4b 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -11654,9 +11654,12 @@ MaybeHandle<Object> JSArray::SetElementsLength( |
SLOPPY).Assert(); |
} |
- SetProperty(deleted, isolate->factory()->length_string(), |
- isolate->factory()->NewNumberFromUint(delete_count), |
- STRICT).Assert(); |
+ RETURN_ON_EXCEPTION( |
+ isolate, |
+ SetProperty(deleted, isolate->factory()->length_string(), |
+ isolate->factory()->NewNumberFromUint(delete_count), |
+ STRICT), |
+ Object); |
} |
RETURN_ON_EXCEPTION( |