Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index af2f21623160a9aa192c142115547dd1e8d45c0b..300772ac043bb05df28e49cda9293d7d37122133 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -606,6 +606,7 @@ static byte* GetNoCodeAgeSequence(uint32_t* length) { |
*length = kNoCodeAgeSequenceLength * Assembler::kInstrSize; |
if (!initialized) { |
CodePatcher patcher(byte_sequence, kNoCodeAgeSequenceLength); |
+ PredictableCodeSizeScope scope(patcher.masm(), *length); |
patcher.masm()->stm(db_w, sp, r1.bit() | cp.bit() | fp.bit() | lr.bit()); |
patcher.masm()->LoadRoot(ip, Heap::kUndefinedValueRootIndex); |
patcher.masm()->add(fp, sp, Operand(2 * kPointerSize)); |