Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index bac4e793b279bf4a86353db7024aa92352219e79..cb493fd998031294b0071cdce3dfa53dd4ecc300 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -4819,7 +4819,7 @@ void FullCodeGenerator::EnterFinallyBlock() { |
ASSERT(!result_register().is(rdx)); |
ASSERT(!result_register().is(rcx)); |
// Cook return address on top of stack (smi encoded Code* delta) |
- __ pop(rdx); |
+ __ PopReturnAddressTo(rdx); |
__ Move(rcx, masm_->CodeObject()); |
__ subq(rdx, rcx); |
__ Integer32ToSmi(rdx, rdx); |