Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index 904a37df267d514f1499d685d9d6605cba477fcb..221a0e1b4e2a81e01bc6cf5a93fdd0007d2b8469 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -618,7 +618,8 @@ static byte* GetNoCodeAgeSequence(uint32_t* length) { |
CodePatcher patcher(byte_sequence, kNoCodeAgeSequenceLength); |
patcher.masm()->Push(ra, fp, cp, a1); |
patcher.masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
- patcher.masm()->Addu(fp, sp, Operand(2 * kPointerSize)); |
+ patcher.masm()->Addu(fp, sp, |
+ Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); |
initialized = true; |
} |
return byte_sequence; |