Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 6379a5188de37b90717c6e4504dc675cc4bdaac6..200ecfa04917435f43b0f36ac67623b576aed326 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -670,8 +670,11 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) { |
if (cc == eq) { |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
- __ Push(lhs, rhs); |
- __ CallRuntime(strict() ? Runtime::kStrictEqual : Runtime::kEqual); |
+ __ Push(cp); |
+ __ Call(strict() ? isolate()->builtins()->StrictEqual() |
+ : isolate()->builtins()->Equal(), |
+ RelocInfo::CODE_TARGET); |
+ __ Pop(cp); |
} |
// Turn true into 0 and false into some non-zero value. |
STATIC_ASSERT(EQUAL == 0); |