Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 8977232bd74760eff3421fdebf73b950fd372e22..4006f296a10b5503e708c0151866aba8d8756a7b 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; |
} |
@@ -1557,7 +1556,8 @@ MaybeHandle<Object> StoreIC::Store(Handle<Object> object, Handle<Name> name, |
Handle<Object> result; |
ASSIGN_RETURN_ON_EXCEPTION( |
isolate(), result, |
- JSObject::SetElement(receiver, index, value, language_mode()), Object); |
+ Object::SetElement(isolate(), receiver, index, value, language_mode()), |
+ Object); |
return value; |
} |