Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 9f8dafc234718ab73df9f9778bdf2e15163ddc5a..09c8a800ccab1a4e3cdf06a7337dc0c2284b6efc 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(bool restore_context); |
+ void LeaveApiExitFrame(); |
// Push and pop the registers that can hold pointers. |
void PushSafepointRegisters() { Pushad(); } |
@@ -784,12 +784,6 @@ class MacroAssembler: public Assembler { |
void Set(Register dst, int64_t x); |
void Set(const Operand& dst, int64_t x); |
- // cvtsi2sd instruction only writes to the low 64-bit of dst register, which |
- // hinders register renaming and makes dependence chains longer. So we use |
- // xorps to clear the dst register before cvtsi2sd to solve this issue. |
- void Cvtlsi2sd(XMMRegister dst, Register src); |
- void Cvtlsi2sd(XMMRegister dst, const Operand& src); |
- |
// Move if the registers are not identical. |
void Move(Register target, Register source); |
@@ -1280,8 +1274,7 @@ class MacroAssembler: public Assembler { |
Address thunk_address, |
Register thunk_last_arg, |
int stack_space, |
- Operand return_value_operand, |
- Operand* context_restore_operand); |
+ int return_value_offset_from_rbp); |
// 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], |
@@ -1437,7 +1430,7 @@ class MacroAssembler: public Assembler { |
// accessible via StackSpaceOperand. |
void EnterExitFrameEpilogue(int arg_stack_space, bool save_doubles); |
- void LeaveExitFrameEpilogue(bool restore_context); |
+ void LeaveExitFrameEpilogue(); |
// Allocation support helpers. |
// Loads the top of new-space into the result register. |