Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 11acbb780354ab4e4e357909756c5ac84c14c8d3..c3f4a3d31bffbc309e9a77fcc2a5ded76e592730 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -170,8 +170,7 @@ void FullCodeGenerator::Generate() { |
// Push(lr, fp, cp, x1); |
// Add(fp, jssp, 2 * kPointerSize); |
info->set_prologue_offset(masm_->pc_offset()); |
- ASSERT(!info->IsStub()); |
- __ Prologue(info); |
+ __ Prologue(info->IsCodePreAgingActive()); |
info->AddNoFrameRange(0, masm_->pc_offset()); |
// Reserve space on the stack for locals. |