Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index a45caf4d4286f04ff7c1084d90d95ce2fa9181f1..ff630b8b7ceac3909f1627b1cc9a6353d879041b 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -2413,6 +2413,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_CreateJSGeneratorObject) { |
} |
generator->set_function(function); |
generator->set_context(Context::cast(frame->context())); |
+ generator->set_receiver(frame->receiver()); |
generator->set_continuation(0); |
generator->set_operand_stack(isolate->heap()->empty_fixed_array()); |