Index: src/ic/ic-compiler.cc |
diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc |
index dc6e5520f73d447160249a97bb017c063b1e7516..af025fbafd0c71f69e8c5a0000c8b8c97894e187 100644 |
--- a/src/ic/ic-compiler.cc |
+++ b/src/ic/ic-compiler.cc |
@@ -13,6 +13,7 @@ namespace internal { |
Handle<Code> PropertyICCompiler::ComputeKeyedLoadMonomorphicHandler( |
Handle<Map> receiver_map, ExtraICState extra_ic_state) { |
+ // TODO(ishell): remove extra_ic_state |
Isolate* isolate = receiver_map->GetIsolate(); |
bool is_js_array = receiver_map->instance_type() == JS_ARRAY_TYPE; |
ElementsKind elements_kind = receiver_map->elements_kind(); |
@@ -40,8 +41,7 @@ Handle<Code> PropertyICCompiler::ComputeKeyedLoadMonomorphicHandler( |
} else { |
DCHECK(receiver_map->has_dictionary_elements()); |
TRACE_HANDLER_STATS(isolate, KeyedLoadIC_LoadDictionaryElementStub); |
- stub = LoadDictionaryElementStub(isolate, LoadICState(extra_ic_state)) |
- .GetCode(); |
+ stub = LoadDictionaryElementStub(isolate).GetCode(); |
} |
return stub; |
} |