Skip to content

Commit 33d0873

Browse files
committed
Editorial: remove unused AO CreateAsyncIteratorFromClosure
1 parent bdfd596 commit 33d0873

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

spec.html

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -50408,35 +50408,6 @@ <h1>
5040850408
1. Return ~unused~.
5040950409
</emu-alg>
5041050410
</emu-clause>
50411-
50412-
<emu-clause id="sec-createasynciteratorfromclosure" type="abstract operation">
50413-
<h1>
50414-
CreateAsyncIteratorFromClosure (
50415-
_closure_: an Abstract Closure with no parameters,
50416-
_generatorBrand_: a String or ~empty~,
50417-
_generatorPrototype_: an Object,
50418-
): an AsyncGenerator
50419-
</h1>
50420-
<dl class="header">
50421-
</dl>
50422-
<emu-alg>
50423-
1. NOTE: _closure_ can contain uses of the Await operation and uses of the Yield operation to yield an IteratorResult object.
50424-
1. Let _internalSlotsList_ be « [[AsyncGeneratorState]], [[AsyncGeneratorContext]], [[AsyncGeneratorQueue]], [[GeneratorBrand]] ».
50425-
1. Let _generator_ be OrdinaryObjectCreate(_generatorPrototype_, _internalSlotsList_).
50426-
1. Set _generator_.[[GeneratorBrand]] to _generatorBrand_.
50427-
1. Set _generator_.[[AsyncGeneratorState]] to ~suspended-start~.
50428-
1. Let _callerContext_ be the running execution context.
50429-
1. Let _calleeContext_ be a new execution context.
50430-
1. Set the Function of _calleeContext_ to *null*.
50431-
1. Set the Realm of _calleeContext_ to the current Realm Record.
50432-
1. Set the ScriptOrModule of _calleeContext_ to _callerContext_'s ScriptOrModule.
50433-
1. If _callerContext_ is not already suspended, suspend _callerContext_.
50434-
1. Push _calleeContext_ onto the execution context stack; _calleeContext_ is now the running execution context.
50435-
1. Perform AsyncGeneratorStart(_generator_, _closure_).
50436-
1. Remove _calleeContext_ from the execution context stack and restore _callerContext_ as the running execution context.
50437-
1. Return _generator_.
50438-
</emu-alg>
50439-
</emu-clause>
5044050411
</emu-clause>
5044150412
</emu-clause>
5044250413

0 commit comments

Comments
 (0)