Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index e070146c94f8ed9101281243163963b7434af243..e35806acb5f94a6fddce2d4bce0c7efea3415fa2 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -671,7 +671,11 @@ bool LCodeGen::GeneratePrologue() { |
ASSERT(__ StackPointer().Is(jssp)); |
info()->set_prologue_offset(masm_->pc_offset()); |
if (NeedsEagerFrame()) { |
- __ Prologue(info()); |
+ if (info()->IsStub()) { |
+ __ StubPrologue(); |
+ } else { |
+ __ Prologue(info()->IsCodePreAgingActive()); |
+ } |
frame_is_built_ = true; |
info_->AddNoFrameRange(0, masm_->pc_offset()); |
} |