Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index f4ab98839d32510116e06d64c6bee1dc8ee19fed..210fd8846079a8a53631a32ef0c8d4e8e34016d1 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -1586,12 +1586,9 @@ MaybeHandle<Object> StoreIC::Store(Handle<Object> object, Handle<Name> name, |
LookupIterator it(object, name); |
if (FLAG_use_ic) UpdateCaches(&it, value, store_mode); |
- // Set the property. |
- Handle<Object> result; |
- ASSIGN_RETURN_ON_EXCEPTION( |
- isolate(), result, |
- Object::SetProperty(&it, value, language_mode(), store_mode), Object); |
- return result; |
+ MAYBE_RETURN_NULL( |
+ Object::SetProperty(&it, value, language_mode(), store_mode)); |
+ return value; |
} |