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