Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index a00df8537c0724e5c1726d127f76641989809850..9195f72587ce7b5f743126e13aa8b2d416e92337 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -1833,8 +1833,8 @@ RUNTIME_FUNCTION(MaybeObject*, StoreIC_ArrayLength) { |
ASSERT(debug_lookup.IsPropertyCallbacks() && !debug_lookup.IsReadOnly()); |
#endif |
- RETURN_IF_EMPTY_HANDLE(isolate, |
- JSArray::SetElementsLength(receiver, len)); |
+ RETURN_FAILURE_ON_EXCEPTION( |
+ isolate, JSArray::SetElementsLength(receiver, len)); |
return *len; |
} |