Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index 878ba3489a5d8be89221e605362a728ec581429c..1c6c1692ae0426f74a31d2c8d0ee7d3ebacb09e7 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -1197,10 +1197,8 @@ CodeAgingHelper::CodeAgingHelper(Isolate* isolate) { |
young_sequence_.length() / Assembler::kInstrSize, |
CodePatcher::DONT_FLUSH)); |
PredictableCodeSizeScope scope(patcher->masm(), young_sequence_.length()); |
- patcher->masm()->Push(ra, fp, cp, a1); |
+ patcher->masm()->PushStandardFrame(a1); |
patcher->masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
- patcher->masm()->Addu( |
- fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); |
} |