Index: src/ic/mips/ic-compiler-mips.cc |
diff --git a/src/ic/mips/ic-compiler-mips.cc b/src/ic/mips/ic-compiler-mips.cc |
index 920b52a2fdf64cd7e98791bba757a1958a0910c7..c1e67f9ab6169eac7ba25c5bc80846c40c401d2f 100644 |
--- a/src/ic/mips/ic-compiler-mips.cc |
+++ b/src/ic/mips/ic-compiler-mips.cc |
@@ -27,7 +27,11 @@ Handle<Code> PropertyICCompiler::CompilePolymorphic(TypeHandleList* types, |
// 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); |
+ Register tmp = scratch1(); |
+ __ JumpIfSmi(this->name(), &miss); |
+ __ lw(tmp, FieldMemOperand(this->name(), HeapObject::kMapOffset)); |
+ __ lbu(tmp, FieldMemOperand(tmp, Map::kInstanceTypeOffset)); |
+ __ JumpIfNotUniqueNameInstanceType(tmp, &miss); |
} else { |
__ Branch(&miss, ne, this->name(), Operand(name)); |
} |