Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 640f0a57c9eea6b9469f0106a4f2a8b125883fb7..5250e1ed82a136d8992c86d53bf9220688b3d59b 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -157,7 +157,8 @@ void FullCodeGenerator::Generate() { |
FrameScope frame_scope(masm_, StackFrame::MANUAL); |
info->set_prologue_offset(masm_->pc_offset()); |
- __ Prologue(BUILD_FUNCTION_FRAME); |
+ ASSERT(!info->IsStub()); |
+ __ Prologue(info); |
info->AddNoFrameRange(0, masm_->pc_offset()); |
{ Comment cmnt(masm_, "[ Allocate locals"); |