| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index 987c16119e267d0dfb57459fc1a0958d58ddbf6c..689eeaef1537a91f9ebeac0c7bb2516ad84f27e9 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -1667,6 +1667,8 @@ void KeyedLoadStubCompiler::CompileElementHandlers(MapHandleList* receiver_maps,
|
|
|
| if ((receiver_map->instance_type() & kNotStringTag) == 0) {
|
| cached_stub = isolate()->builtins()->KeyedLoadIC_String();
|
| + } else if (receiver_map->instance_type() < FIRST_JS_RECEIVER_TYPE) {
|
| + cached_stub = isolate()->builtins()->KeyedLoadIC_Slow();
|
| } else {
|
| bool is_js_array = receiver_map->instance_type() == JS_ARRAY_TYPE;
|
| ElementsKind elements_kind = receiver_map->elements_kind();
|
| @@ -1711,6 +1713,8 @@ Handle<Code> KeyedStoreStubCompiler::CompileStoreElementPolymorphic(
|
| transitioned_map->elements_kind(),
|
| is_js_array,
|
| store_mode()).GetCode(isolate());
|
| + } else if (receiver_map->instance_type() < FIRST_JS_RECEIVER_TYPE) {
|
| + cached_stub = isolate()->builtins()->KeyedStoreIC_Slow();
|
| } else {
|
| if (receiver_map->has_fast_elements() ||
|
| receiver_map->has_external_array_elements()) {
|
|
|