| Index: src/ic/ic-compiler.cc
|
| diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc
|
| index fcda0c1fa360c2e84d94ce7be9632ecdb1c0789a..0c96390eaca00756c015bbcfb4366e6ac8d94e43 100644
|
| --- a/src/ic/ic-compiler.cc
|
| +++ b/src/ic/ic-compiler.cc
|
| @@ -105,7 +105,8 @@ Handle<Object> PropertyICCompiler::CompileKeyedStoreMonomorphicHandler(
|
| store_mode).GetCode();
|
| } else {
|
| TRACE_HANDLER_STATS(isolate(), KeyedStoreIC_StoreElementStub);
|
| - stub = StoreElementStub(isolate(), elements_kind, store_mode).GetCode();
|
| + DCHECK_EQ(DICTIONARY_ELEMENTS, elements_kind);
|
| + stub = StoreSlowElementStub(isolate(), store_mode).GetCode();
|
| }
|
| Handle<Object> validity_cell =
|
| Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate());
|
|
|