Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: src/full-codegen/mips/full-codegen-mips.cc

Issue 1696043002: [runtime] Unify and simplify how frames are marked (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix merge problems Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698