Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index e09feea3ee1322b701aeddec911e75e15a148578..d33cbb134d6302db03733b4e775f2bb1aa57c419 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -162,7 +162,11 @@ bool LCodeGen::GeneratePrologue() { |
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()); |
} |