Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 1f03fbf9df0597f910d5cdf91ce7566139037485..a5e346429263519ff8abc0c9f24380f8d5e78528 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.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"); |