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