| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 801c30bbdf606a466758fae3c54d8ec35c003e05..fbc3b938ebf1d7be3a5b92de5a369d726339b8fd 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -133,21 +133,7 @@ bool LCodeGen::GeneratePrologue() {
|
|
|
| info()->set_prologue_offset(masm_->pc_offset());
|
| if (NeedsEagerFrame()) {
|
| - if (info()->IsStub()) {
|
| - __ stm(db_w, sp, cp.bit() | fp.bit() | lr.bit());
|
| - __ Push(Smi::FromInt(StackFrame::STUB));
|
| - // Adjust FP to point to saved FP.
|
| - __ add(fp, sp, Operand(2 * kPointerSize));
|
| - } else {
|
| - PredictableCodeSizeScope predictible_code_size_scope(
|
| - masm_, kNoCodeAgeSequenceLength * Assembler::kInstrSize);
|
| - // The following three instructions must remain together and unmodified
|
| - // for code aging to work properly.
|
| - __ stm(db_w, sp, r1.bit() | cp.bit() | fp.bit() | lr.bit());
|
| - __ nop(ip.code());
|
| - // Adjust FP to point to saved FP.
|
| - __ add(fp, sp, Operand(2 * kPointerSize));
|
| - }
|
| + __ Prologue(info()->IsStub());
|
| frame_is_built_ = true;
|
| info_->AddNoFrameRange(0, masm_->pc_offset());
|
| }
|
|
|