| Index: src/mips/stub-cache-mips.cc
|
| diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc
|
| index 4f7b1ca5cb2edd96f234bc2c528f45a8e675cf94..30a37eeaa37d4763500e4fb1efa51be13e3124e0 100644
|
| --- a/src/mips/stub-cache-mips.cc
|
| +++ b/src/mips/stub-cache-mips.cc
|
| @@ -1263,7 +1263,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;
|
|
|