Index: src/x64/deoptimizer-x64.cc |
diff --git a/src/x64/deoptimizer-x64.cc b/src/x64/deoptimizer-x64.cc |
index 06dfbcfb7b781644b6abaf53745c64a87fd6d819..9d70c3236b82fc72710e85a2c8db647e579766a8 100644 |
--- a/src/x64/deoptimizer-x64.cc |
+++ b/src/x64/deoptimizer-x64.cc |
@@ -231,7 +231,9 @@ void Deoptimizer::TableEntryGenerator::Generate() { |
} |
__ popq(rax); |
- // Replace the current frame with the output frames. |
+ __ movp(rsp, Operand(rax, Deoptimizer::caller_frame_top_offset())); |
+ |
+ // Replace the current (input) frame with the output frames. |
Label outer_push_loop, inner_push_loop, |
outer_loop_header, inner_loop_header; |
// Outer loop state: rax = current FrameDescription**, rdx = one past the |