Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index f76764a1752fca67e28e4cecea502951a9021dd7..37933aff50ea2f1b8e0e9830f8e9edc652574d2a 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -634,8 +634,8 @@ Handle<Object> ElementHandlerCompiler::GetKeyedLoadHandler( |
if (elements_kind == DICTIONARY_ELEMENTS) { |
if (FLAG_tf_load_ic_stub) { |
TRACE_HANDLER_STATS(isolate, KeyedLoadIC_LoadElementDH); |
- return SmiHandler::MakeKeyedLoadHandler(isolate, elements_kind, false, |
- is_js_array); |
+ return LoadHandler::LoadElement(isolate, elements_kind, false, |
+ is_js_array); |
} |
TRACE_HANDLER_STATS(isolate, KeyedLoadIC_LoadDictionaryElementStub); |
return LoadDictionaryElementStub(isolate).GetCode(); |
@@ -648,8 +648,8 @@ Handle<Object> ElementHandlerCompiler::GetKeyedLoadHandler( |
*receiver_map == isolate->get_initial_js_array_map(elements_kind); |
if (FLAG_tf_load_ic_stub) { |
TRACE_HANDLER_STATS(isolate, KeyedLoadIC_LoadElementDH); |
- return SmiHandler::MakeKeyedLoadHandler( |
- isolate, elements_kind, convert_hole_to_undefined, is_js_array); |
+ return LoadHandler::LoadElement(isolate, elements_kind, |
+ convert_hole_to_undefined, is_js_array); |
} else { |
TRACE_HANDLER_STATS(isolate, KeyedLoadIC_LoadFastElementStub); |
return LoadFastElementStub(isolate, is_js_array, elements_kind, |