| Index: src/mips64/macro-assembler-mips64.h
|
| diff --git a/src/mips64/macro-assembler-mips64.h b/src/mips64/macro-assembler-mips64.h
|
| index 1c7475f6d2cbcd55916a9a2f9a4cf415790becef..d9f9af4524520c874b8437af7c2a5d417e11f9b1 100644
|
| --- a/src/mips64/macro-assembler-mips64.h
|
| +++ b/src/mips64/macro-assembler-mips64.h
|
| @@ -1054,6 +1054,15 @@ class MacroAssembler: public Assembler {
|
| // -------------------------------------------------------------------------
|
| // JavaScript invokes.
|
|
|
| + // Removes current frame and its arguments from the stack preserving
|
| + // the arguments and a return address pushed to the stack for the next call.
|
| + // Both |callee_args_count| and |caller_args_count_reg| do not include
|
| + // receiver. |callee_args_count| is not modified, |caller_args_count_reg|
|
| + // is trashed.
|
| + void PrepareForTailCall(const ParameterCount& callee_args_count,
|
| + Register caller_args_count_reg, Register scratch0,
|
| + Register scratch1);
|
| +
|
| // Invoke the JavaScript function code by either calling or jumping.
|
| void InvokeFunctionCode(Register function, Register new_target,
|
| const ParameterCount& expected,
|
|
|