| Index: src/mips64/code-stubs-mips64.cc
|
| diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc
|
| index cb7e22018a1f1bfba5a80afe9054b02a1ad3ae2f..98ca8521c25d9ded0b30f8f772534d61c05bb365 100644
|
| --- a/src/mips64/code-stubs-mips64.cc
|
| +++ b/src/mips64/code-stubs-mips64.cc
|
| @@ -726,9 +726,6 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) {
|
| __ TailCallRuntime(strict() ? Runtime::kStrictEquals : Runtime::kEquals, 2,
|
| 1);
|
| } else {
|
| - int context_index = is_strong(strength())
|
| - ? Context::COMPARE_STRONG_BUILTIN_INDEX
|
| - : Context::COMPARE_BUILTIN_INDEX;
|
| int ncr; // NaN compare result.
|
| if (cc == lt || cc == le) {
|
| ncr = GREATER;
|
| @@ -741,7 +738,9 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) {
|
|
|
| // Call the native; it returns -1 (less), 0 (equal), or 1 (greater)
|
| // tagged as a small integer.
|
| - __ InvokeBuiltin(context_index, JUMP_FUNCTION);
|
| + __ TailCallRuntime(
|
| + is_strong(strength()) ? Runtime::kCompare_Strong : Runtime::kCompare, 3,
|
| + 1);
|
| }
|
|
|
| __ bind(&miss);
|
|
|