Skip to content

Commit 45c7147

Browse files
committed
[js-api] Editorial: drop unused algorithm
This became unused in WebAssembly#745.
1 parent 5143ee3 commit 45c7147

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

document/js-api/index.bs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -433,16 +433,6 @@ The verification of WebAssembly type requirements is deferred to the
433433
1. Return |promise|.
434434
</div>
435435

436-
<div algorithm="instantiate">
437-
To <dfn>synchronously instantiate a WebAssembly module</dfn> from a {{Module}} |moduleObject| and imports |importObject|, perform the following steps:
438-
1. Let |module| be |moduleObject|.\[[Module]].
439-
1. [=Read the imports=] of |module| with imports |importObject|, and let |imports| be the result.
440-
1. [=Instantiate the core of a WebAssembly module=] |module| with |imports|, and let |instance| be the result.
441-
1. Let |instanceObject| be a [=/new=] {{Instance}}.
442-
1. [=initialize an instance object|Initialize=] |instanceObject| from |module| and |instance|.
443-
1. Return |instanceObject|.
444-
</div>
445-
446436
<div algorithm>
447437
To <dfn>instantiate a promise of a module</dfn> |promiseOfModule| with imports |importObject|, perform the following steps:
448438

0 commit comments

Comments
 (0)