Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 31b27ef98c4c6b8c6caa9a986eb2513eb26452b4..517f25bf2923073a2cfebf36b76c27ef5347dcee 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -1937,9 +1937,7 @@ void FullCodeGenerator::EmitGeneratorResume(Expression *generator, |
// fp = caller's frame pointer. |
// cp = callee's context, |
// a4 = callee's JS function. |
- __ Push(ra, fp, cp, a4); |
- // Adjust FP to point to saved FP. |
- __ Daddu(fp, sp, 2 * kPointerSize); |
+ __ PushStandardFrame(a4); |
// Load the operand stack size. |
__ ld(a3, FieldMemOperand(a1, JSGeneratorObject::kOperandStackOffset)); |