| Index: src/x64/macro-assembler-x64.h
|
| diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h
|
| index 24eea383949527c3edb7df1e37f34a032884afe3..eba2d08d7faaade808d8512bcd7616dc4b96c92f 100644
|
| --- a/src/x64/macro-assembler-x64.h
|
| +++ b/src/x64/macro-assembler-x64.h
|
| @@ -1342,6 +1342,17 @@ class MacroAssembler: public Assembler {
|
| int stack_space,
|
| Operand return_value_operand,
|
| Operand* context_restore_operand);
|
| + //
|
| + // Fast Calls an API function. No allocate of HandleScope, extracts returned
|
| + // value from handle and propagates exceptions. Clobbers r14, r15, rbx and
|
| + // caller-save registers. Restores context. On return removes
|
| + // stack_space * kPointerSize (GCed).
|
| + void CallFastApiFunctionAndReturn(Register function_address,
|
| + ExternalReference thunk_ref,
|
| + Register thunk_last_arg,
|
| + int stack_space,
|
| + Operand return_value_operand,
|
| + Operand* context_restore_operand);
|
|
|
| // Before calling a C-function from generated code, align arguments on stack.
|
| // After aligning the frame, arguments must be stored in rsp[0], rsp[8],
|
|
|