Skip to content

Commit ca9388f

Browse files
committed
sync -> unset
1 parent 844563f commit ca9388f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -26754,10 +26754,10 @@ <h1>Cyclic Module Records</h1>
2675426754
[[AsyncEvaluationOrder]]
2675526755
</td>
2675626756
<td>
26757-
~sync~, an integer, or ~done~
26757+
~unset~, an integer, or ~done~
2675826758
</td>
2675926759
<td>
26760-
This field is initially set to ~sync~, and remains ~sync~ for fully synchronous modules. For modules that are either themselves asynchronous or have an asynchronous dependency, it is set to an integer that determines the order in which execution of pending modules is queued by <emu-xref href="#sec-async-module-execution-fulfilled"></emu-xref>. Once the pending module is executed, the field is set to ~done~.
26760+
This field is initially set to ~unset~, and remains ~unset~ for fully synchronous modules. For modules that are either themselves asynchronous or have an asynchronous dependency, it is set to an integer that determines the order in which execution of pending modules is queued by <emu-xref href="#sec-async-module-execution-fulfilled"></emu-xref>. Once the pending module is executed, the field is set to ~done~.
2676126761
</td>
2676226762
</tr>
2676326763
<tr>
@@ -27088,7 +27088,7 @@ <h1>Evaluate ( ): a Promise</h1>
2708827088
1. If _result_ is an abrupt completion, then
2708927089
1. For each Cyclic Module Record _m_ of _stack_, do
2709027090
1. Assert: _m_.[[Status]] is ~evaluating~.
27091-
1. Assert: _m_.[[AsyncEvaluationOrder]] is ~sync~.
27091+
1. Assert: _m_.[[AsyncEvaluationOrder]] is ~unset~.
2709227092
1. Set _m_.[[Status]] to ~evaluated~.
2709327093
1. Set _m_.[[EvaluationError]] to _result_.
2709427094
1. Assert: _module_.[[Status]] is ~evaluated~.
@@ -27099,7 +27099,7 @@ <h1>Evaluate ( ): a Promise</h1>
2709927099
1. Assert: _module_.[[EvaluationError]] is ~empty~.
2710027100
1. If _module_.[[Status]] is ~evaluated~, then
2710127101
1. NOTE: This implies that evaluation of _module_ completed synchronously.
27102-
1. Assert: _module_.[[AsyncEvaluationOrder]] is ~sync~.
27102+
1. Assert: _module_.[[AsyncEvaluationOrder]] is ~unset~.
2710327103
1. Perform ! Call(_capability_.[[Resolve]], *undefined*, « *undefined* »).
2710427104
1. Assert: _stack_ is empty.
2710527105
1. Return _capability_.[[Promise]].
@@ -27152,7 +27152,7 @@ <h1>
2715227152
1. Set _module_.[[PendingAsyncDependencies]] to _module_.[[PendingAsyncDependencies]] + 1.
2715327153
1. Append _module_ to _requiredModule_.[[AsyncParentModules]].
2715427154
1. If _module_.[[PendingAsyncDependencies]] > 0 or _module_.[[HasTLA]] is *true*, then
27155-
1. Assert: _module_.[[AsyncEvaluationOrder]] is ~sync~.
27155+
1. Assert: _module_.[[AsyncEvaluationOrder]] is ~unset~.
2715627156
1. Set _module_.[[AsyncEvaluationOrder]] to IncrementModuleAsyncEvaluationCount().
2715727157
1. If _module_.[[PendingAsyncDependencies]] = 0, perform ExecuteAsyncModule(_module_).
2715827158
1. Else,
@@ -27165,8 +27165,8 @@ <h1>
2716527165
1. Let _requiredModule_ be the last element of _stack_.
2716627166
1. Remove the last element of _stack_.
2716727167
1. Assert: _requiredModule_ is a Cyclic Module Record.
27168-
1. Assert: _requiredModule_.[[AsyncEvaluationOrder]] is either an integer or ~sync~.
27169-
1. If _requiredModule_.[[AsyncEvaluationOrder]] is ~sync~, set _requiredModule_.[[Status]] to ~evaluated~.
27168+
1. Assert: _requiredModule_.[[AsyncEvaluationOrder]] is either an integer or ~unset~.
27169+
1. If _requiredModule_.[[AsyncEvaluationOrder]] is ~unset~, set _requiredModule_.[[Status]] to ~evaluated~.
2717027170
1. Otherwise, set _requiredModule_.[[Status]] to ~evaluating-async~.
2717127171
1. If _requiredModule_ and _module_ are the same Module Record, set _done_ to *true*.
2717227172
1. Set _requiredModule_.[[CycleRoot]] to _module_.

0 commit comments

Comments
 (0)