Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index ff641dddf98d4fd86b88f246f832bcdb289aade5..2a683d870813ef5187bf899154124846c87bbc9d 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -656,9 +656,11 @@ RUNTIME_FUNCTION(MaybeObject*, StoreInterceptorProperty) { |
Handle<Object> value = args.at<Object>(2); |
ASSERT(receiver->HasNamedInterceptor()); |
PropertyAttributes attr = NONE; |
- Handle<Object> result = JSObject::SetPropertyWithInterceptor( |
- receiver, name, value, attr, ic.strict_mode()); |
- RETURN_IF_EMPTY_HANDLE(isolate, result); |
+ Handle<Object> result; |
+ ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
+ isolate, result, |
+ JSObject::SetPropertyWithInterceptor( |
+ receiver, name, value, attr, ic.strict_mode())); |
return *result; |
} |