Index: src/ic/arm/ic-compiler-arm.cc |
diff --git a/src/ic/arm/ic-compiler-arm.cc b/src/ic/arm/ic-compiler-arm.cc |
index e918fdc9c0e34a5ccaa9a37901fe27bc301463f1..7bef56e94de091e68cdc02f0da296a925286b84f 100644 |
--- a/src/ic/arm/ic-compiler-arm.cc |
+++ b/src/ic/arm/ic-compiler-arm.cc |
@@ -44,7 +44,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); |
+ __ ldr(tmp, FieldMemOperand(this->name(), HeapObject::kMapOffset)); |
+ __ ldrb(tmp, FieldMemOperand(tmp, Map::kInstanceTypeOffset)); |
+ __ JumpIfNotUniqueNameInstanceType(tmp, &miss); |
} else { |
__ cmp(this->name(), Operand(name)); |
__ b(ne, &miss); |