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

Unified Diff: src/mips/builtins-mips.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/ia32/builtins-ia32.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips/builtins-mips.cc
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc
index aff49b6a8a954b443ebac12cec0f2940390a7d41..8072403c3328f846e5ae75deff09de575fbcbfc0 100644
--- a/src/mips/builtins-mips.cc
+++ b/src/mips/builtins-mips.cc
@@ -856,9 +856,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) {
}
__ bind(&skip_flooding);
- // Push receiver.
- __ lw(t1, FieldMemOperand(a1, JSGeneratorObject::kReceiverOffset));
- __ Push(t1);
+ // 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/ia32/builtins-ia32.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698