Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 648bb734538681ea2307499f4511005aa6da3dff..3d82c17fa98d7ff85e8f41836ac9858a97060744 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -188,15 +188,8 @@ bool LCodeGen::GeneratePrologue() { |
if (NeedsEagerFrame()) { |
ASSERT(!frame_is_built_); |
frame_is_built_ = true; |
- __ push(ebp); // Caller's frame pointer. |
- __ mov(ebp, esp); |
+ __ Prologue(info()->IsStub()); |
info()->AddNoFrameRange(0, masm_->pc_offset()); |
- __ push(esi); // Callee's context. |
- if (info()->IsStub()) { |
- __ push(Immediate(Smi::FromInt(StackFrame::STUB))); |
- } else { |
- __ push(edi); // Callee's JS function. |
- } |
} |
if (info()->IsOptimizing() && |