Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 3fd57d2cc48a3a7e4a8cff477ac69d5cbc1e439c..efbeb1783bd6b11af1e164b9e9639cdebba47e6a 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -171,8 +171,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"); |