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

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

Issue 1968263002: Remove unused 'receiver' field from generators (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: weaken dcheck Created 4 years, 7 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 | « src/mips/builtins-mips.cc ('k') | src/objects.h » ('j') | 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 4cd9a388916ee6f41317d6b999f71d3c9ebcbe4b..e8d38a65ffa430b4c38e9fae9df8a9beff828ecd 100644
--- a/src/mips64/builtins-mips64.cc
+++ b/src/mips64/builtins-mips64.cc
@@ -721,9 +721,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) {
}
__ bind(&skip_flooding);
- // Push receiver.
- __ ld(a5, FieldMemOperand(a1, JSGeneratorObject::kReceiverOffset));
- __ Push(a5);
+ // Push hole for the never-used receiver, similarly to arguments below.
+ __ PushRoot(Heap::kTheHoleValueRootIndex);
// ----------- S t a t e -------------
// -- a1 : the JSGeneratorObject to resume
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698