Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 5dfce55fb9c27fdd3672d7a395666d85f67fd051..1a9f1d748b7987710a47ce883257fbba3e843966 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -1265,6 +1265,8 @@ void KeyedLoadStubCompiler::CompileElementHandlers(MapHandleList* receiver_maps, |
cached_stub = |
KeyedLoadFastElementStub(is_js_array, |
elements_kind).GetCode(isolate()); |
+ } else if (elements_kind == NON_STRICT_ARGUMENTS_ELEMENTS) { |
+ cached_stub = isolate()->builtins()->KeyedLoadIC_NonStrictArguments(); |
} else { |
ASSERT(elements_kind == DICTIONARY_ELEMENTS); |
cached_stub = KeyedLoadDictionaryElementStub().GetCode(isolate()); |