Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 91d31ea3077b3feba48290ea5de6e1b470fff1b7..5f3a74c83713c26b80e3abb2148aa3da41dd2b97 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -499,7 +499,7 @@ RUNTIME_FUNCTION(MaybeObject*, StoreCallbackProperty) { |
PropertyCallbackArguments |
custom_args(isolate, callback->data(), receiver, holder); |
custom_args.Call(fun, v8::Utils::ToLocal(str), v8::Utils::ToLocal(value)); |
- RETURN_IF_SCHEDULED_EXCEPTION(isolate); |
+ RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate); |
return *value; |
} |
@@ -539,7 +539,7 @@ RUNTIME_FUNCTION(MaybeObject*, LoadPropertyWithInterceptorOnly) { |
HandleScope scope(isolate); |
v8::Handle<v8::Value> r = |
callback_args.Call(getter, v8::Utils::ToLocal(name)); |
- RETURN_IF_SCHEDULED_EXCEPTION(isolate); |
+ RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate); |
if (!r.IsEmpty()) { |
Handle<Object> result = v8::Utils::OpenHandle(*r); |
result->VerifyApiCallResultType(); |