| Index: src/x64/macro-assembler-x64.h
|
| diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h
|
| index a1b04d55df7d59bfc576b0df692fce1c990d5cf2..09dae3e09608b248886bd0a7b47a783a9171d25b 100644
|
| --- a/src/x64/macro-assembler-x64.h
|
| +++ b/src/x64/macro-assembler-x64.h
|
| @@ -302,7 +302,7 @@ class MacroAssembler: public Assembler {
|
|
|
| // Leave the current exit frame. Expects/provides the return value in
|
| // register rax (untouched).
|
| - void LeaveApiExitFrame();
|
| + void LeaveApiExitFrame(bool restore_context);
|
|
|
| // Push and pop the registers that can hold pointers.
|
| void PushSafepointRegisters() { Pushad(); }
|
| @@ -739,6 +739,17 @@ class MacroAssembler: public Assembler {
|
| // ---------------------------------------------------------------------------
|
| // String macros.
|
|
|
| + // Generate code to do a lookup in the number string cache. If the number in
|
| + // the register object is found in the cache the generated code falls through
|
| + // with the result in the result register. The object and the result register
|
| + // can be the same. If the number is not found in the cache the code jumps to
|
| + // the label not_found with only the content of register object unchanged.
|
| + void LookupNumberStringCache(Register object,
|
| + Register result,
|
| + Register scratch1,
|
| + Register scratch2,
|
| + Label* not_found);
|
| +
|
| // If object is a string, its map is loaded into object_map.
|
| void JumpIfNotString(Register object,
|
| Register object_map,
|
| @@ -1280,7 +1291,8 @@ class MacroAssembler: public Assembler {
|
| Address thunk_address,
|
| Register thunk_last_arg,
|
| int stack_space,
|
| - int return_value_offset_from_rbp);
|
| + 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],
|
| @@ -1436,7 +1448,7 @@ class MacroAssembler: public Assembler {
|
| // accessible via StackSpaceOperand.
|
| void EnterExitFrameEpilogue(int arg_stack_space, bool save_doubles);
|
|
|
| - void LeaveExitFrameEpilogue();
|
| + void LeaveExitFrameEpilogue(bool restore_context);
|
|
|
| // Allocation support helpers.
|
| // Loads the top of new-space into the result register.
|
|
|