File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ A {{Module}} object represents a single WebAssembly module. Each {{Module}} obje
332
332
333
333
Note: The signature is checked by [=instantiate_module=] invoked below.
334
334
1. Otherwise,
335
- 1. [=Create a host function=] from |v| and let |funcaddr| be the result.
335
+ 1. [=Create a host function=] from |v| and |functype|, and let |funcaddr| be the result.
336
336
1. Let |index| be the number of external functions in |imports|. This value |index| is known as the <dfn>index of the host function</dfn> |funcaddr|.
337
337
1. Let |externfunc| be the [=external value=] [=external value|𝖿𝗎𝗇𝖼=] |funcaddr|.
338
338
1. [=Append=] |externfunc| to |imports|.
@@ -901,7 +901,7 @@ Note: [=call an Exported Function|Calling an Exported Function=] executes in the
901
901
Note: Exported Functions do not have a \[[Construct]] method and thus it is not possible to call one with the `new` operator.
902
902
903
903
<div algorithm>
904
- To <dfn>create a host function</dfn> from the JavaScript object |func|, perform the following steps:
904
+ To <dfn>create a host function</dfn> from the JavaScript object |func| and type |functype| , perform the following steps:
905
905
906
906
1. Let |hostfunc| be a [=host function=] which performs the following steps when called:
907
907
1. If the signature contains an [=𝗂𝟨𝟦=] (as argument or result), the host function throws a {{TypeError}} when called.
You can’t perform that action at this time.
0 commit comments