Index: src/x87/deoptimizer-x87.cc |
diff --git a/src/x87/deoptimizer-x87.cc b/src/x87/deoptimizer-x87.cc |
index 99c31f26e28df5092a9cafe44a954aecddb58a46..9d4645e782524374e0e4339785f75f12040db1e9 100644 |
--- a/src/x87/deoptimizer-x87.cc |
+++ b/src/x87/deoptimizer-x87.cc |
@@ -327,8 +327,9 @@ void Deoptimizer::TableEntryGenerator::Generate() { |
} |
__ pop(eax); |
__ pop(edi); |
+ __ mov(esp, Operand(eax, Deoptimizer::caller_frame_top_offset())); |
- // Replace the current frame with the output frames. |
+ // 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: eax = current FrameDescription**, edx = one past the |