@@ -7274,7 +7274,7 @@ <h1>
72747274 1. Perform ? GeneratorYield(CreateIteratorResultObject(_E_, *false*)).
72757275 1. Return NormalCompletion(*undefined*).
72767276 1. Let _iterator_ be CreateIteratorFromClosure(_closure_, ~empty~, %Iterator.prototype%).
7277- 1. Return the Iterator Record { [[Iterator]]: _iterator_, [[NextMethod]]: %GeneratorFunction.prototype.prototype .next%, [[Done]]: *false* }.
7277+ 1. Return the Iterator Record { [[Iterator]]: _iterator_, [[NextMethod]]: %GeneratorPrototype .next%, [[Done]]: *false* }.
72787278 </emu-alg>
72797279 <emu-note>
72807280 <p>The list iterator object is never directly accessible to ECMAScript code.</p>
@@ -23978,7 +23978,7 @@ <h1>
2397823978 1. Let _closure_ be OrdinaryFunctionCreate(%GeneratorFunction.prototype%, _sourceText_, |UniqueFormalParameters|, |GeneratorBody|, ~non-lexical-this~, _env_, _privateEnv_).
2397923979 1. Perform MakeMethod(_closure_, _object_).
2398023980 1. Perform SetFunctionName(_closure_, _propKey_).
23981- 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorFunction.prototype.prototype %).
23981+ 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorPrototype %).
2398223982 1. Perform ! DefinePropertyOrThrow(_closure_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
2398323983 1. Return ? DefineMethodProperty(_object_, _propKey_, _closure_, _enumerable_).
2398423984 </emu-alg>
@@ -23993,7 +23993,7 @@ <h1>
2399323993 1. Let _closure_ be OrdinaryFunctionCreate(%AsyncGeneratorFunction.prototype%, _sourceText_, |UniqueFormalParameters|, |AsyncGeneratorBody|, ~non-lexical-this~, _env_, _privateEnv_).
2399423994 1. Perform MakeMethod(_closure_, _object_).
2399523995 1. Perform SetFunctionName(_closure_, _propKey_).
23996- 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorFunction.prototype.prototype %).
23996+ 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorPrototype %).
2399723997 1. Perform ! DefinePropertyOrThrow(_closure_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
2399823998 1. Return ? DefineMethodProperty(_object_, _propKey_, _closure_, _enumerable_).
2399923999 </emu-alg>
@@ -24113,7 +24113,7 @@ <h1>
2411324113 <emu-grammar>GeneratorBody : FunctionBody</emu-grammar>
2411424114 <emu-alg>
2411524115 1. Perform ? FunctionDeclarationInstantiation(_functionObject_, _argumentsList_).
24116- 1. Let _G_ be ? OrdinaryCreateFromConstructor(_functionObject_, *"%GeneratorFunction.prototype.prototype %"*, « [[GeneratorState]], [[GeneratorContext]], [[GeneratorBrand]] »).
24116+ 1. Let _G_ be ? OrdinaryCreateFromConstructor(_functionObject_, *"%GeneratorPrototype %"*, « [[GeneratorState]], [[GeneratorContext]], [[GeneratorBrand]] »).
2411724117 1. Set _G_.[[GeneratorBrand]] to ~empty~.
2411824118 1. Set _G_.[[GeneratorState]] to ~suspended-start~.
2411924119 1. Perform GeneratorStart(_G_, |FunctionBody|).
@@ -24136,7 +24136,7 @@ <h1>
2413624136 1. Let _sourceText_ be the source text matched by |GeneratorDeclaration|.
2413724137 1. Let _F_ be OrdinaryFunctionCreate(%GeneratorFunction.prototype%, _sourceText_, |FormalParameters|, |GeneratorBody|, ~non-lexical-this~, _env_, _privateEnv_).
2413824138 1. Perform SetFunctionName(_F_, _name_).
24139- 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorFunction.prototype.prototype %).
24139+ 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorPrototype %).
2414024140 1. Perform ! DefinePropertyOrThrow(_F_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
2414124141 1. Return _F_.
2414224142 </emu-alg>
@@ -24145,7 +24145,7 @@ <h1>
2414524145 1. Let _sourceText_ be the source text matched by |GeneratorDeclaration|.
2414624146 1. Let _F_ be OrdinaryFunctionCreate(%GeneratorFunction.prototype%, _sourceText_, |FormalParameters|, |GeneratorBody|, ~non-lexical-this~, _env_, _privateEnv_).
2414724147 1. Perform SetFunctionName(_F_, *"default"*).
24148- 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorFunction.prototype.prototype %).
24148+ 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorPrototype %).
2414924149 1. Perform ! DefinePropertyOrThrow(_F_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
2415024150 1. Return _F_.
2415124151 </emu-alg>
@@ -24170,7 +24170,7 @@ <h1>
2417024170 1. Let _sourceText_ be the source text matched by |GeneratorExpression|.
2417124171 1. Let _closure_ be OrdinaryFunctionCreate(%GeneratorFunction.prototype%, _sourceText_, |FormalParameters|, |GeneratorBody|, ~non-lexical-this~, _env_, _privateEnv_).
2417224172 1. Perform SetFunctionName(_closure_, _name_).
24173- 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorFunction.prototype.prototype %).
24173+ 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorPrototype %).
2417424174 1. Perform ! DefinePropertyOrThrow(_closure_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
2417524175 1. Return _closure_.
2417624176 </emu-alg>
@@ -24185,7 +24185,7 @@ <h1>
2418524185 1. Let _sourceText_ be the source text matched by |GeneratorExpression|.
2418624186 1. Let _closure_ be OrdinaryFunctionCreate(%GeneratorFunction.prototype%, _sourceText_, |FormalParameters|, |GeneratorBody|, ~non-lexical-this~, _funcEnv_, _privateEnv_).
2418724187 1. Perform SetFunctionName(_closure_, _name_).
24188- 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorFunction.prototype.prototype %).
24188+ 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorPrototype %).
2418924189 1. Perform ! DefinePropertyOrThrow(_closure_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
2419024190 1. Perform ! _funcEnv_.InitializeBinding(_name_, _closure_).
2419124191 1. Return _closure_.
@@ -24341,7 +24341,7 @@ <h1>
2434124341 </emu-grammar>
2434224342 <emu-alg>
2434324343 1. Perform ? FunctionDeclarationInstantiation(_functionObject_, _argumentsList_).
24344- 1. Let _generator_ be ? OrdinaryCreateFromConstructor(_functionObject_, *"%AsyncGeneratorFunction.prototype.prototype %"*, « [[AsyncGeneratorState]], [[AsyncGeneratorContext]], [[AsyncGeneratorQueue]], [[GeneratorBrand]] »).
24344+ 1. Let _generator_ be ? OrdinaryCreateFromConstructor(_functionObject_, *"%AsyncGeneratorPrototype %"*, « [[AsyncGeneratorState]], [[AsyncGeneratorContext]], [[AsyncGeneratorQueue]], [[GeneratorBrand]] »).
2434524345 1. Set _generator_.[[GeneratorBrand]] to ~empty~.
2434624346 1. Set _generator_.[[AsyncGeneratorState]] to ~suspended-start~.
2434724347 1. Perform AsyncGeneratorStart(_generator_, |FunctionBody|).
@@ -24366,7 +24366,7 @@ <h1>
2436624366 1. Let _sourceText_ be the source text matched by |AsyncGeneratorDeclaration|.
2436724367 1. Let _F_ be OrdinaryFunctionCreate(%AsyncGeneratorFunction.prototype%, _sourceText_, |FormalParameters|, |AsyncGeneratorBody|, ~non-lexical-this~, _env_, _privateEnv_).
2436824368 1. Perform SetFunctionName(_F_, _name_).
24369- 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorFunction.prototype.prototype %).
24369+ 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorPrototype %).
2437024370 1. Perform ! DefinePropertyOrThrow(_F_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
2437124371 1. Return _F_.
2437224372 </emu-alg>
@@ -24377,7 +24377,7 @@ <h1>
2437724377 1. Let _sourceText_ be the source text matched by |AsyncGeneratorDeclaration|.
2437824378 1. Let _F_ be OrdinaryFunctionCreate(%AsyncGeneratorFunction.prototype%, _sourceText_, |FormalParameters|, |AsyncGeneratorBody|, ~non-lexical-this~, _env_, _privateEnv_).
2437924379 1. Perform SetFunctionName(_F_, *"default"*).
24380- 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorFunction.prototype.prototype %).
24380+ 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorPrototype %).
2438124381 1. Perform ! DefinePropertyOrThrow(_F_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
2438224382 1. Return _F_.
2438324383 </emu-alg>
@@ -24404,7 +24404,7 @@ <h1>
2440424404 1. Let _sourceText_ be the source text matched by |AsyncGeneratorExpression|.
2440524405 1. Let _closure_ be OrdinaryFunctionCreate(%AsyncGeneratorFunction.prototype%, _sourceText_, |FormalParameters|, |AsyncGeneratorBody|, ~non-lexical-this~, _env_, _privateEnv_).
2440624406 1. Perform SetFunctionName(_closure_, _name_).
24407- 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorFunction.prototype.prototype %).
24407+ 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorPrototype %).
2440824408 1. Perform ! DefinePropertyOrThrow(_closure_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
2440924409 1. Return _closure_.
2441024410 </emu-alg>
@@ -24421,7 +24421,7 @@ <h1>
2442124421 1. Let _sourceText_ be the source text matched by |AsyncGeneratorExpression|.
2442224422 1. Let _closure_ be OrdinaryFunctionCreate(%AsyncGeneratorFunction.prototype%, _sourceText_, |FormalParameters|, |AsyncGeneratorBody|, ~non-lexical-this~, _funcEnv_, _privateEnv_).
2442324423 1. Perform SetFunctionName(_closure_, _name_).
24424- 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorFunction.prototype.prototype %).
24424+ 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorPrototype %).
2442524425 1. Perform ! DefinePropertyOrThrow(_closure_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
2442624426 1. Perform ! _funcEnv_.InitializeBinding(_name_, _closure_).
2442724427 1. Return _closure_.
@@ -30503,10 +30503,10 @@ <h1>
3050330503 1. Let _F_ be OrdinaryFunctionCreate(_proto_, _sourceText_, _parameters_, _body_, ~non-lexical-this~, _env_, _privateEnv_).
3050430504 1. Perform SetFunctionName(_F_, *"anonymous"*).
3050530505 1. If _kind_ is ~generator~, then
30506- 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorFunction.prototype.prototype %).
30506+ 1. Let _prototype_ be OrdinaryObjectCreate(%GeneratorPrototype %).
3050730507 1. Perform ! DefinePropertyOrThrow(_F_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
3050830508 1. Else if _kind_ is ~async-generator~, then
30509- 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorFunction.prototype.prototype %).
30509+ 1. Let _prototype_ be OrdinaryObjectCreate(%AsyncGeneratorPrototype %).
3051030510 1. Perform ! DefinePropertyOrThrow(_F_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
3051130511 1. Else if _kind_ is ~normal~, then
3051230512 1. Perform MakeConstructor(_F_).
0 commit comments