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

Unified Diff: src/full-codegen/mips64/full-codegen-mips64.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/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));

Powered by Google App Engine
This is Rietveld 408576698