| Index: src/ic/x87/ic-compiler-x87.cc
|
| diff --git a/src/ic/x87/ic-compiler-x87.cc b/src/ic/x87/ic-compiler-x87.cc
|
| index 2467a6d7d2d739200921f2cfb7902a6eee51ad36..20b47e726e583fde5c372299d501dc13aca2cf11 100644
|
| --- a/src/ic/x87/ic-compiler-x87.cc
|
| +++ b/src/ic/x87/ic-compiler-x87.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);
|
|
|