Skip to content

Commit 9970d65

Browse files
committed
fixup: Eliminate Resume and Suspend from SMR Evaluate()
1 parent 32cc58d commit 9970d65

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -28711,12 +28711,10 @@ <h1>Evaluate ( ): a Promise</h1>
2871128711
1. Set the ScriptOrModule of _moduleContext_ to _module_.
2871228712
1. Set the VariableEnvironment of _moduleContext_ to _module_.[[Environment]].
2871328713
1. Set the LexicalEnvironment of _moduleContext_ to _module_.[[Environment]].
28714-
1. Suspend the running execution context.
2871528714
1. Push _moduleContext_ onto the execution context stack; _moduleContext_ is now the running execution context.
2871628715
1. Let _steps_ be _module_.[[EvaluationSteps]].
2871728716
1. Let _result_ be Completion(_steps_(_module_)).
28718-
1. Suspend _moduleContext_ and remove it from the execution context stack.
28719-
1. Resume the context that is now on the top of the execution context stack as the running execution context.
28717+
1. Remove _moduleContext_ from the execution context stack.
2872028718
1. Let _pc_ be ! NewPromiseCapability(%Promise%).
2872128719
1. IfAbruptRejectPromise(_result_, _pc_).
2872228720
1. Perform ! Call(_pc_.[[Resolve]], *undefined*, « *undefined* »).

0 commit comments

Comments
 (0)