Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 5a3512224d21d2a14f55e4f86e182d60087f484c..be58a157990d0f9f66ad00fa5856878e53ac0421 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -1933,9 +1933,7 @@ void FullCodeGenerator::EmitGeneratorResume(Expression *generator, |
// fp = caller's frame pointer. |
// cp = callee's context, |
// t0 = callee's JS function. |
- __ Push(ra, fp, cp, t0); |
- // Adjust FP to point to saved FP. |
- __ Addu(fp, sp, 2 * kPointerSize); |
+ __ PushStandardFrame(t0); |
// Load the operand stack size. |
__ lw(a3, FieldMemOperand(a1, JSGeneratorObject::kOperandStackOffset)); |