| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 7fabb9ff2e56a8521e500d83f144c7607cdc450b..604927eb6a906e5696bca8b31b91a272b1a3c0cf 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -133,21 +133,7 @@ bool LCodeGen::GeneratePrologue() {
|
|
|
| info()->set_prologue_offset(masm_->pc_offset());
|
| if (NeedsEagerFrame()) {
|
| - if (info()->IsStub()) {
|
| - __ Push(ra, fp, cp);
|
| - __ Push(Smi::FromInt(StackFrame::STUB));
|
| - // Adjust FP to point to saved FP.
|
| - __ Addu(fp, sp, Operand(2 * kPointerSize));
|
| - } else {
|
| - // The following three instructions must remain together and unmodified
|
| - // for code aging to work properly.
|
| - __ Push(ra, fp, cp, a1);
|
| - // Add unused nop to ensure prologue sequence is identical for
|
| - // full-codegen and lithium-codegen.
|
| - __ nop(Assembler::CODE_AGE_SEQUENCE_NOP);
|
| - // Adj. FP to point to saved FP.
|
| - __ Addu(fp, sp, Operand(2 * kPointerSize));
|
| - }
|
| + __ Prologue(info()->IsStub());
|
| frame_is_built_ = true;
|
| info_->AddNoFrameRange(0, masm_->pc_offset());
|
| }
|
|
|