Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index a8a691ed5daf7b25279112f7aaa25a259d9b841f..2a970bb6bd9369f6ac7cfe7d20a9a5dc210a04c2 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2563,7 +2563,7 @@ void LCodeGen::DoReturn(LReturn* instr) { |
// The argument count parameter is a smi |
__ SmiToInteger32(reg, reg); |
Register return_addr_reg = reg.is(rcx) ? rbx : rcx; |
- __ pop(return_addr_reg); |
+ __ PopReturnAddressTo(return_addr_reg); |
__ shl(reg, Immediate(kPointerSizeLog2)); |
__ addq(rsp, reg); |
__ jmp(return_addr_reg); |