| Index: src/arm64/code-stubs-arm64.cc
|
| diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc
|
| index 32250a861159880509ba61a7a5aade5f8f49a79d..57a0ffde92128c807ebeaceeb38ae7b3f16abfd4 100644
|
| --- a/src/arm64/code-stubs-arm64.cc
|
| +++ b/src/arm64/code-stubs-arm64.cc
|
| @@ -628,19 +628,11 @@
|
|
|
| __ Bind(&slow);
|
|
|
| + __ Push(lhs, rhs);
|
| + // Figure out which native to call and setup the arguments.
|
| if (cond == eq) {
|
| - {
|
| - FrameScope scope(masm, StackFrame::INTERNAL);
|
| - __ Push(lhs, rhs);
|
| - __ CallRuntime(strict() ? Runtime::kStrictEqual : Runtime::kEqual);
|
| - }
|
| - // Turn true into 0 and false into some non-zero value.
|
| - STATIC_ASSERT(EQUAL == 0);
|
| - __ LoadRoot(x1, Heap::kTrueValueRootIndex);
|
| - __ Sub(x0, x0, x1);
|
| - __ Ret();
|
| + __ TailCallRuntime(strict() ? Runtime::kStrictEquals : Runtime::kEquals);
|
| } else {
|
| - __ Push(lhs, rhs);
|
| int ncr; // NaN compare result
|
| if ((cond == lt) || (cond == le)) {
|
| ncr = GREATER;
|
|
|