| Index: src/x87/code-stubs-x87.cc
|
| diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
|
| index 3025ab00571569b170f0cdfdc076ffb01075930c..31ee17bdcf60f14e3a73ab752421b727336d2662 100644
|
| --- a/src/x87/code-stubs-x87.cc
|
| +++ b/src/x87/code-stubs-x87.cc
|
| @@ -1047,9 +1047,11 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) {
|
| if (cc == equal) {
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| - __ Push(edx);
|
| - __ Push(eax);
|
| - __ CallRuntime(strict() ? Runtime::kStrictEqual : Runtime::kEqual);
|
| + __ Push(esi);
|
| + __ Call(strict() ? isolate()->builtins()->StrictEqual()
|
| + : isolate()->builtins()->Equal(),
|
| + RelocInfo::CODE_TARGET);
|
| + __ Pop(esi);
|
| }
|
| // Turn true into 0 and false into some non-zero value.
|
| STATIC_ASSERT(EQUAL == 0);
|
|
|