Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 85cb610679a6c331c07dd952bd5d7ddfd1cd0b39..238d34ed27e3bb6bdba2d7582652c2747cead720 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -851,7 +851,8 @@ static byte* GetNoCodeAgeSequence(uint32_t* length) { |
PredictableCodeSizeScope scope(patcher.masm(), *length); |
patcher.masm()->stm(db_w, sp, r1.bit() | cp.bit() | fp.bit() | lr.bit()); |
patcher.masm()->nop(ip.code()); |
- patcher.masm()->add(fp, sp, Operand(2 * kPointerSize)); |
+ patcher.masm()->add(fp, sp, |
+ Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); |
initialized = true; |
} |
return byte_sequence; |