Index: src/ic/ia32/ic-compiler-ia32.cc |
diff --git a/src/ic/ia32/ic-compiler-ia32.cc b/src/ic/ia32/ic-compiler-ia32.cc |
index 685eac982b06242fa06a4f6e58e283aa3fbfe5ba..ac42f30bf5a74398951556e83103a7b49b6a951b 100644 |
--- a/src/ic/ia32/ic-compiler-ia32.cc |
+++ b/src/ic/ia32/ic-compiler-ia32.cc |
@@ -48,7 +48,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); |
+ __ mov(tmp, FieldOperand(this->name(), HeapObject::kMapOffset)); |
+ __ movzx_b(tmp, FieldOperand(tmp, Map::kInstanceTypeOffset)); |
+ __ JumpIfNotUniqueNameInstanceType(tmp, &miss); |
} else { |
__ cmp(this->name(), Immediate(name)); |
__ j(not_equal, &miss); |