Index: src/ic/ic-compiler.cc |
diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc |
index 0794342c969d0a5534e557e2d58c6d92d550f5db..dee91ffd839ff8582e71156e4d5827f8227a8da1 100644 |
--- a/src/ic/ic-compiler.cc |
+++ b/src/ic/ic-compiler.cc |
@@ -88,7 +88,7 @@ |
Handle<Code> PropertyICCompiler::ComputeKeyedLoadMonomorphicHandler( |
- Handle<Map> receiver_map, ExtraICState extra_ic_state) { |
+ Handle<Map> receiver_map) { |
Isolate* isolate = receiver_map->GetIsolate(); |
bool is_js_array = receiver_map->instance_type() == JS_ARRAY_TYPE; |
ElementsKind elements_kind = receiver_map->elements_kind(); |
@@ -97,8 +97,8 @@ |
// stub code needs to check that dynamically anyway. |
bool convert_hole_to_undefined = |
is_js_array && elements_kind == FAST_HOLEY_ELEMENTS && |
- *receiver_map == isolate->get_initial_js_array_map(elements_kind) && |
- !(is_strong(LoadICState::GetLanguageMode(extra_ic_state))); |
+ *receiver_map == isolate->get_initial_js_array_map(elements_kind); |
+ |
Handle<Code> stub; |
if (receiver_map->has_indexed_interceptor()) { |
stub = LoadIndexedInterceptorStub(isolate).GetCode(); |
@@ -113,8 +113,7 @@ |
stub = LoadFastElementStub(isolate, is_js_array, elements_kind, |
convert_hole_to_undefined).GetCode(); |
} else { |
- stub = LoadDictionaryElementStub(isolate, LoadICState(extra_ic_state)) |
- .GetCode(); |
+ stub = LoadDictionaryElementStub(isolate).GetCode(); |
} |
return stub; |
} |
@@ -222,7 +221,7 @@ |
Handle<Code> PropertyICCompiler::ComputeKeyedLoadPolymorphic( |
- MapHandleList* receiver_maps, LanguageMode language_mode) { |
+ MapHandleList* receiver_maps) { |
Isolate* isolate = receiver_maps->at(0)->GetIsolate(); |
DCHECK(KeyedLoadIC::GetKeyType(kNoExtraICState) == ELEMENT); |
Code::Flags flags = Code::ComputeFlags(Code::KEYED_LOAD_IC, POLYMORPHIC); |
@@ -233,7 +232,7 @@ |
CodeHandleList handlers(receiver_maps->length()); |
ElementHandlerCompiler compiler(isolate); |
- compiler.CompileElementHandlers(receiver_maps, &handlers, language_mode); |
+ compiler.CompileElementHandlers(receiver_maps, &handlers); |
PropertyICCompiler ic_compiler(isolate, Code::KEYED_LOAD_IC); |
Handle<Code> code = ic_compiler.CompilePolymorphic( |
receiver_maps, &handlers, isolate->factory()->empty_string(), |