| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 90e3672a91d8315adb4074d3c2049c9dfa74a8fa..379c1c8bf277a6e86860d6ff659ea7f6470ded5d 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -1710,6 +1710,9 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) {
|
| // Call runtime on identical JSObjects. Otherwise return equal.
|
| __ CmpObjectType(eax, FIRST_SPEC_OBJECT_TYPE, ecx);
|
| __ j(above_equal, ¬_identical);
|
| + // Call runtime on identical symbols since we need to throw a TypeError.
|
| + __ CmpObjectType(eax, SYMBOL_TYPE, ecx);
|
| + __ j(equal, ¬_identical);
|
| }
|
| __ Move(eax, Immediate(Smi::FromInt(EQUAL)));
|
| __ ret(0);
|
|
|