| Index: src/ic/ic-compiler.cc
|
| diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc
|
| index 3a1731268fc2ad1ae807cb7e8a899d6c49c4abb8..cdb7ea58883d2dff9c47a772b2caa1b36e03eb47 100644
|
| --- a/src/ic/ic-compiler.cc
|
| +++ b/src/ic/ic-compiler.cc
|
| @@ -451,7 +451,10 @@ Handle<Code> PropertyICCompiler::CompileKeyedStoreMonomorphic(
|
| stub = StoreElementStub(isolate(), elements_kind).GetCode();
|
| }
|
|
|
| - __ DispatchMap(receiver(), scratch1(), receiver_map, stub, DO_SMI_CHECK);
|
| + Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map);
|
| +
|
| + __ DispatchWeakMap(receiver(), scratch1(), scratch2(), cell, stub,
|
| + DO_SMI_CHECK);
|
|
|
| TailCallBuiltin(masm(), Builtins::kKeyedStoreIC_Miss);
|
|
|
|
|