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

Unified Diff: src/arm/builtins-arm.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 | « no previous file | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/builtins-arm.cc
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc
index 3edffeab832de5db9fed20fdef2281e659df76c5..79bc9dfa5bb1ec029d42c42cfca6ce8ac3a66f25 100644
--- a/src/arm/builtins-arm.cc
+++ b/src/arm/builtins-arm.cc
@@ -736,9 +736,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) {
}
__ bind(&skip_flooding);
- // Push receiver.
- __ ldr(ip, FieldMemOperand(r1, JSGeneratorObject::kReceiverOffset));
- __ Push(ip);
+ // Push hole for the never-used receiver, similarly to arguments below.
+ __ PushRoot(Heap::kTheHoleValueRootIndex);
// ----------- S t a t e -------------
// -- r1 : the JSGeneratorObject to resume
« no previous file with comments | « no previous file | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698