Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index a9759a2df96a54705eb7ced005a6f3cdc8ed96ca..6d01b7f06d3f811a6b26027bcb26b4cb7e61796d 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -427,8 +427,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
// Pop return address. |
__ PopReturnAddressTo(eax); |
- // Push receiver. |
- __ Push(FieldOperand(ebx, JSGeneratorObject::kReceiverOffset)); |
+ // Push hole for the never-used receiver, similarly to arguments below. |
+ __ PushRoot(Heap::kTheHoleValueRootIndex); |
// ----------- S t a t e ------------- |
// -- eax : return address |