| Index: src/mips64/stub-cache-mips64.cc
|
| diff --git a/src/mips64/stub-cache-mips64.cc b/src/mips64/stub-cache-mips64.cc
|
| index 7c09089aa226ea949aa8d750d0eb8e6e2459e084..322a897fd48478d64eb9ab798c772db94c7eb7bc 100644
|
| --- a/src/mips64/stub-cache-mips64.cc
|
| +++ b/src/mips64/stub-cache-mips64.cc
|
| @@ -1264,7 +1264,13 @@ Handle<Code> PropertyICCompiler::CompilePolymorphic(TypeHandleList* types,
|
|
|
| if (check == PROPERTY &&
|
| (kind() == Code::KEYED_LOAD_IC || kind() == Code::KEYED_STORE_IC)) {
|
| - __ Branch(&miss, ne, this->name(), Operand(name));
|
| + // 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 {
|
| + __ Branch(&miss, ne, this->name(), Operand(name));
|
| + }
|
| }
|
|
|
| Label number_case;
|
|
|