| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index df3f4170b1ae7fa3b0355e6f52ce18a9d73638d0..8e0520c654b76f0ff6a2b3e2631de5f3e491a4ea 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -174,7 +174,9 @@ void FullCodeGenerator::Generate() {
|
| // The following three instructions must remain together and unmodified for
|
| // code aging to work properly.
|
| __ Push(ra, fp, cp, a1);
|
| - __ nop(Assembler::CODE_AGE_SEQUENCE_NOP);
|
| + __ nop(isolate()->is_memory_constrained() ?
|
| + Assembler::CODE_AGE_PRE_AGED_SEQUENCE_NOP :
|
| + Assembler::CODE_AGE_YOUNG_SEQUENCE_NOP);
|
| // Adjust fp to point to caller's fp.
|
| __ Addu(fp, sp, Operand(2 * kPointerSize));
|
| info->AddNoFrameRange(0, masm_->pc_offset());
|
|
|