Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 4309dbd6e2f378c9616c451755e2e9842c20c280..1caaff05f8e0fc61018a6bd245f8c41ceef75d7b 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -11033,8 +11033,9 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_DebugIndexedInterceptorElementValue) { |
CONVERT_ARG_HANDLE_CHECKED(JSObject, obj, 0); |
RUNTIME_ASSERT(obj->HasIndexedInterceptor()); |
CONVERT_NUMBER_CHECKED(uint32_t, index, Uint32, args[1]); |
- |
- return obj->GetElementWithInterceptor(*obj, index); |
+ Handle<Object> result = JSObject::GetElementWithInterceptor(obj, obj, index); |
+ RETURN_IF_EMPTY_HANDLE(isolate, result); |
+ return *result; |
} |