| Index: src/x64/macro-assembler-x64.h
|
| diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h
|
| index 6f5c32c2b4dff209c6786353e2e328161cd2f35c..569cc117a5e23818b07c3a626f851afe0648054e 100644
|
| --- a/src/x64/macro-assembler-x64.h
|
| +++ b/src/x64/macro-assembler-x64.h
|
| @@ -106,15 +106,15 @@ class MacroAssembler: public Assembler {
|
| void LeaveConstructFrame() { LeaveFrame(StackFrame::CONSTRUCT); }
|
|
|
| // Enter specific kind of exit frame; either EXIT or
|
| - // EXIT_DEBUG. Expects the number of arguments in register eax and
|
| - // sets up the number of arguments in register edi and the pointer
|
| - // to the first argument in register esi.
|
| - void EnterExitFrame(StackFrame::Type type);
|
| + // EXIT_DEBUG. Expects the number of arguments in register rax and
|
| + // sets up the number of arguments in register rdi and the pointer
|
| + // to the first argument in register rsi.
|
| + void EnterExitFrame(StackFrame::Type type, int result_size = 1);
|
|
|
| - // Leave the current exit frame. Expects the return value in
|
| - // register eax:edx (untouched) and the pointer to the first
|
| - // argument in register esi.
|
| - void LeaveExitFrame(StackFrame::Type type);
|
| + // Leave the current exit frame. Expects/provides the return value in
|
| + // register rax:rdx (untouched) and the pointer to the first
|
| + // argument in register rsi.
|
| + void LeaveExitFrame(StackFrame::Type type, int result_size = 1);
|
|
|
|
|
| // ---------------------------------------------------------------------------
|
| @@ -317,10 +317,12 @@ class MacroAssembler: public Assembler {
|
| // Tail call of a runtime routine (jump).
|
| // Like JumpToBuiltin, but also takes care of passing the number
|
| // of arguments.
|
| - void TailCallRuntime(const ExternalReference& ext, int num_arguments);
|
| + void TailCallRuntime(const ExternalReference& ext,
|
| + int num_arguments,
|
| + int result_size);
|
|
|
| // Jump to the builtin routine.
|
| - void JumpToBuiltin(const ExternalReference& ext);
|
| + void JumpToBuiltin(const ExternalReference& ext, int result_size);
|
|
|
|
|
| // ---------------------------------------------------------------------------
|
|
|