| Index: src/mips64/builtins-mips64.cc
|
| diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc
|
| index f4bd386eae9e40f08ac682cf0c5ae449a822d88f..8f36797c8f18e97adb8dba805646b3a3b8db1c7f 100644
|
| --- a/src/mips64/builtins-mips64.cc
|
| +++ b/src/mips64/builtins-mips64.cc
|
| @@ -44,11 +44,9 @@ void Builtins::Generate_Adaptor(MacroAssembler* masm,
|
| DCHECK(extra_args == NO_EXTRA_ARGUMENTS);
|
| }
|
|
|
| - // JumpToExternalReference expects s0 to contain the number of arguments
|
| + // JumpToExternalReference expects a0 to contain the number of arguments
|
| // including the receiver and the extra arguments.
|
| - __ Daddu(s0, a0, num_extra_args + 1);
|
| - __ dsll(s1, s0, kPointerSizeLog2);
|
| - __ Dsubu(s1, s1, kPointerSize);
|
| + __ Daddu(a0, a0, num_extra_args + 1);
|
| __ JumpToExternalReference(ExternalReference(id, masm->isolate()));
|
| }
|
|
|
|
|