| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index d52d424095699f2f23bc547a175592e63d9a9549..092eaa33d4cab16f04c5c46c11d354e88216f79f 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -1306,6 +1306,8 @@ void KeyedLoadStubCompiler::CompileElementHandlers(MapHandleList* receiver_maps,
|
| cached_stub =
|
| KeyedLoadFastElementStub(is_js_array,
|
| elements_kind).GetCode(isolate());
|
| + } else if (elements_kind == SLOPPY_ARGUMENTS_ELEMENTS) {
|
| + cached_stub = isolate()->builtins()->KeyedLoadIC_SloppyArguments();
|
| } else {
|
| ASSERT(elements_kind == DICTIONARY_ELEMENTS);
|
| cached_stub = KeyedLoadDictionaryElementStub().GetCode(isolate());
|
|
|