Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index b9e282f760d3c06ecffc8ea47aed555e8761b918..cbd0788121225de87634145e3225d6091ab6b235 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -171,12 +171,7 @@ void FullCodeGenerator::Generate() { |
FrameScope frame_scope(masm_, StackFrame::MANUAL); |
info->set_prologue_offset(masm_->pc_offset()); |
- // The following three instructions must remain together and unmodified for |
- // code aging to work properly. |
- __ Push(ra, fp, cp, a1); |
- __ nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
- // Adjust fp to point to caller's fp. |
- __ Addu(fp, sp, Operand(2 * kPointerSize)); |
+ __ Prologue(BUILD_FUNCTION_FRAME); |
info->AddNoFrameRange(0, masm_->pc_offset()); |
{ Comment cmnt(masm_, "[ Allocate locals"); |