Skip to content

Commit 6c3ead7

Browse files
committed
fixup: Eliminate Resume and Suspend from SMR Evaluate()
1 parent a26c7e0 commit 6c3ead7

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
@@ -28686,12 +28686,10 @@ <h1>Evaluate ( ): a Promise</h1>
2868628686
1. Set the ScriptOrModule of _moduleContext_ to _module_.
2868728687
1. Set the VariableEnvironment of _moduleContext_ to _module_.[[Environment]].
2868828688
1. Set the LexicalEnvironment of _moduleContext_ to _module_.[[Environment]].
28689-
1. Suspend the running execution context.
2869028689
1. Push _moduleContext_ onto the execution context stack; _moduleContext_ is now the running execution context.
2869128690
1. Let _steps_ be _module_.[[EvaluationSteps]].
2869228691
1. Let _result_ be Completion(_steps_(_module_)).
28693-
1. Suspend _moduleContext_ and remove it from the execution context stack.
28694-
1. Resume the context that is now on the top of the execution context stack as the running execution context.
28692+
1. Remove _moduleContext_ from the execution context stack.
2869528693
1. Let _pc_ be ! NewPromiseCapability(%Promise%).
2869628694
1. IfAbruptRejectPromise(_result_, _pc_).
2869728695
1. Perform ! Call(_pc_.[[Resolve]], *undefined*, « *undefined* »).

0 commit comments

Comments
 (0)