| Index: src/arm/full-codegen-arm.cc
|
| diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc
|
| index b6fb70b5df0f5c86a621f6711c5f8a24e7f7be8d..be7cea512b918219d3fe00fa671aabac91006f6b 100644
|
| --- a/src/arm/full-codegen-arm.cc
|
| +++ b/src/arm/full-codegen-arm.cc
|
| @@ -169,7 +169,9 @@ void FullCodeGenerator::Generate() {
|
| // 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());
|
| + // Pre-age code objects on memory constrained devices.
|
| + __ nop(isolate()->is_memory_constrained() ?
|
| + kPreAgeCodeNopType : kNoAgeCodeNopType);
|
| // Adjust FP to point to saved FP.
|
| __ add(fp, sp, Operand(2 * kPointerSize));
|
| }
|
|
|