| Index: src/x87/code-stubs-x87.cc
|
| diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
|
| index 1da5f41a8865f5744d0379fab10983974f9ea053..816c18988e23f8b9fafc2f8295ea9113c59f883e 100644
|
| --- a/src/x87/code-stubs-x87.cc
|
| +++ b/src/x87/code-stubs-x87.cc
|
| @@ -3051,7 +3051,9 @@ void CompareICStub::GenerateBooleans(MacroAssembler* masm) {
|
| __ AssertSmi(eax);
|
| __ mov(edx, FieldOperand(edx, Oddball::kToNumberOffset));
|
| __ AssertSmi(edx);
|
| - __ xchg(eax, edx);
|
| + __ push(eax);
|
| + __ mov(eax, edx);
|
| + __ pop(edx);
|
| }
|
| __ sub(eax, edx);
|
| __ Ret();
|
|
|