| Index: src/arm64/stub-cache-arm64.cc
|
| diff --git a/src/arm64/stub-cache-arm64.cc b/src/arm64/stub-cache-arm64.cc
|
| index 703cd5d4afcc85da1929c2b94ecca4362cd25aeb..c1ae0eb51af391868dbfd658d8c422131570734d 100644
|
| --- a/src/arm64/stub-cache-arm64.cc
|
| +++ b/src/arm64/stub-cache-arm64.cc
|
| @@ -1241,7 +1241,13 @@ Handle<Code> PropertyICCompiler::CompilePolymorphic(TypeHandleList* types,
|
|
|
| if (check == PROPERTY &&
|
| (kind() == Code::KEYED_LOAD_IC || kind() == Code::KEYED_STORE_IC)) {
|
| - __ CompareAndBranch(this->name(), Operand(name), ne, &miss);
|
| + // In case we are compiling an IC for dictionary loads and stores, just
|
| + // check whether the name is unique.
|
| + if (name.is_identical_to(isolate()->factory()->normal_ic_symbol())) {
|
| + __ JumpIfNotUniqueName(this->name(), &miss);
|
| + } else {
|
| + __ CompareAndBranch(this->name(), Operand(name), ne, &miss);
|
| + }
|
| }
|
|
|
| Label number_case;
|
|
|