| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index c29ea9a35d5e7379fff5b567cce19d1167f614a8..ff86a605e50698eb9d09e56721ff300f7e962b53 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -302,8 +302,8 @@ RUNTIME_FUNCTION(Runtime_DebugGetPropertyDetails) {
|
| if (name->AsArrayIndex(&index)) {
|
| Handle<FixedArray> details = isolate->factory()->NewFixedArray(2);
|
| Handle<Object> element_or_char;
|
| - ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, element_or_char,
|
| - Object::GetElement(isolate, obj, index));
|
| + ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| + isolate, element_or_char, JSReceiver::GetElement(isolate, obj, index));
|
| details->set(0, *element_or_char);
|
| details->set(1, PropertyDetails::Empty().AsSmi());
|
| return *isolate->factory()->NewJSArrayWithElements(details);
|
| @@ -418,8 +418,8 @@ RUNTIME_FUNCTION(Runtime_DebugIndexedInterceptorElementValue) {
|
| RUNTIME_ASSERT(obj->HasIndexedInterceptor());
|
| CONVERT_NUMBER_CHECKED(uint32_t, index, Uint32, args[1]);
|
| Handle<Object> result;
|
| - ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result,
|
| - Object::GetElement(isolate, obj, index));
|
| + ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| + isolate, result, JSReceiver::GetElement(isolate, obj, index));
|
| return *result;
|
| }
|
|
|
|
|