Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 725a6f8af03aea79db5faf7dcf395afb8d131332..704fb4e7d28bc994e1dc06bd09542d663d77f8af 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -158,10 +158,7 @@ void FullCodeGenerator::Generate() { |
FrameScope frame_scope(masm_, StackFrame::MANUAL); |
info->set_prologue_offset(masm_->pc_offset()); |
- __ push(ebp); // Caller's frame pointer. |
- __ mov(ebp, esp); |
- __ push(esi); // Callee's context. |
- __ push(edi); // Callee's JS Function. |
+ __ Prologue(BUILD_FUNCTION_FRAME); |
info->AddNoFrameRange(0, masm_->pc_offset()); |
{ Comment cmnt(masm_, "[ Allocate locals"); |