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

Unified Diff: src/mips64/builtins-mips64.cc

Issue 1869343003: MIPS64: Fix '[generators] Decouple generator resume from fullcodegen.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips64/builtins-mips64.cc
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc
index b086780ae36cd42488da953633efc232e18c29ba..d5147164668d21c51878ef315de46e5395f3ed15 100644
--- a/src/mips64/builtins-mips64.cc
+++ b/src/mips64/builtins-mips64.cc
@@ -718,10 +718,10 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) {
__ Branch(&skip_flooding, eq, t1, Operand(zero_reg));
{
FrameScope scope(masm, StackFrame::INTERNAL);
- __ Push(a1, a2, t0);
+ __ Push(a1, a2, a4);
__ CallRuntime(Runtime::kDebugPrepareStepInIfStepping);
__ Pop(a1, a2);
- __ ld(t0, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset));
+ __ ld(a4, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset));
}
__ bind(&skip_flooding);
@@ -767,7 +767,7 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) {
__ ld(a3, FieldMemOperand(a0, FixedArray::kLengthOffset));
__ SmiUntag(a3);
__ Daddu(a0, a0, Operand(FixedArray::kHeaderSize - kHeapObjectTag));
- __ Lsa(a3, a0, a3, kPointerSizeLog2);
+ __ Dlsa(a3, a0, a3, kPointerSizeLog2);
{
Label done_loop, loop;
__ bind(&loop);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698