| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index fe474cdf956f27c4685e28bb90f241ba2c6b8f6f..3d9c7d73f277021be50303ad35ebd0ff8383ae22 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -828,9 +828,7 @@ Handle<Code> LoadGlobalIC::initialize_stub_in_optimized_code(
|
| return LoadGlobalICStub(isolate, LoadGlobalICState(extra_state)).GetCode();
|
| }
|
|
|
| -Handle<Code> KeyedLoadIC::initialize_stub_in_optimized_code(
|
| - Isolate* isolate, ExtraICState extra_state) {
|
| - // TODO(ishell): remove extra_ic_state
|
| +Handle<Code> KeyedLoadIC::initialize_stub_in_optimized_code(Isolate* isolate) {
|
| return KeyedLoadICStub(isolate).GetCode();
|
| }
|
|
|
| @@ -1354,8 +1352,7 @@ void KeyedLoadIC::UpdateLoadElement(Handle<HeapObject> receiver) {
|
|
|
| if (target_receiver_maps.length() == 0) {
|
| Handle<Code> handler =
|
| - PropertyICCompiler::ComputeKeyedLoadMonomorphicHandler(
|
| - receiver_map, extra_ic_state());
|
| + ElementHandlerCompiler::GetKeyedLoadHandler(receiver_map, isolate());
|
| return ConfigureVectorState(Handle<Name>(), receiver_map, handler);
|
| }
|
|
|
| @@ -1384,8 +1381,7 @@ void KeyedLoadIC::UpdateLoadElement(Handle<HeapObject> receiver) {
|
| target_receiver_maps.at(0)->elements_kind(),
|
| Handle<JSObject>::cast(receiver)->GetElementsKind())) {
|
| Handle<Code> handler =
|
| - PropertyICCompiler::ComputeKeyedLoadMonomorphicHandler(
|
| - receiver_map, extra_ic_state());
|
| + ElementHandlerCompiler::GetKeyedLoadHandler(receiver_map, isolate());
|
| return ConfigureVectorState(Handle<Name>(), receiver_map, handler);
|
| }
|
|
|
|
|