| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index 9f75af8eb3c27be29f79626fe66718d4ad1e5fb0..7d940b95111d55bcf0759deed41c755307b239db 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -697,8 +697,7 @@ MaybeHandle<Object> LoadIC::Load(Handle<Object> object, Handle<Name> name) {
|
| Handle<Object> result;
|
| ASSIGN_RETURN_ON_EXCEPTION(
|
| isolate(), result,
|
| - Runtime::GetElementOrCharAt(isolate(), object, index, language_mode()),
|
| - Object);
|
| + Object::GetElement(isolate(), object, index, language_mode()), Object);
|
| return result;
|
| }
|
|
|
| @@ -1553,9 +1552,10 @@ MaybeHandle<Object> StoreIC::Store(Handle<Object> object, Handle<Name> name,
|
| Handle<JSObject> receiver = Handle<JSObject>::cast(object);
|
|
|
| Handle<Object> result;
|
| - ASSIGN_RETURN_ON_EXCEPTION(
|
| - isolate(), result,
|
| - JSObject::SetElement(receiver, index, value, language_mode()), Object);
|
| + ASSIGN_RETURN_ON_EXCEPTION(isolate(), result,
|
| + JSObject::SetElement(isolate(), receiver, index,
|
| + value, language_mode()),
|
| + Object);
|
| return value;
|
| }
|
|
|
|
|