Skip to content

Commit

Permalink
[js-api] Editorial: drop unused algorithm
Browse files Browse the repository at this point in the history
This became unused in WebAssembly#745.
  • Loading branch information
Ms2ger committed Sep 26, 2023
1 parent 5143ee3 commit 45c7147
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions document/js-api/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -433,16 +433,6 @@ The verification of WebAssembly type requirements is deferred to the
1. Return |promise|.
</div>

<div algorithm="instantiate">
To <dfn>synchronously instantiate a WebAssembly module</dfn> from a {{Module}} |moduleObject| and imports |importObject|, perform the following steps:
1. Let |module| be |moduleObject|.\[[Module]].
1. [=Read the imports=] of |module| with imports |importObject|, and let |imports| be the result.
1. [=Instantiate the core of a WebAssembly module=] |module| with |imports|, and let |instance| be the result.
1. Let |instanceObject| be a [=/new=] {{Instance}}.
1. [=initialize an instance object|Initialize=] |instanceObject| from |module| and |instance|.
1. Return |instanceObject|.
</div>

<div algorithm>
To <dfn>instantiate a promise of a module</dfn> |promiseOfModule| with imports |importObject|, perform the following steps:

Expand Down

0 comments on commit 45c7147

Please sign in to comment.