Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 3d4530161b81d8ada60c0b5ce9d343a156290ee5..9ad4a64457534a2abfe78675885f1a086cd8904b 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -624,8 +624,11 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) { |
if (cc == eq) { |
{ |
FrameAndConstantPoolScope 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); |