| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index 9219c74b003d4e0dbbe033f8300283e4f2d0423e..6717dd5d6d4a8e85f3c13e83e11a5bfae7702de2 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -1412,7 +1412,7 @@ void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) {
|
| __ lea(rax, Operand(rax, rbx, times_1, Code::kHeaderSize - kHeapObjectTag));
|
|
|
| // Overwrite the return address on the stack.
|
| - __ movq(Operand(rsp, 0), rax);
|
| + __ movq(StackOperandForReturnAddress(0), rax);
|
|
|
| // And "return" to the OSR entry point of the function.
|
| __ ret(0);
|
|
|