diff options
Diffstat (limited to 'docs/binaryen.js.Markdown')
-rw-r--r-- | docs/binaryen.js.Markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/binaryen.js.Markdown b/docs/binaryen.js.Markdown index 3ad2a0da7..20181d62a 100644 --- a/docs/binaryen.js.Markdown +++ b/docs/binaryen.js.Markdown @@ -211,7 +211,7 @@ Unprefixed expressions: * `break(label, condition, value)`: Create a break, to a label, and with an optional condition, and optional value. * `switch(labels, defaultLabel, condition, value)`: Create a switch (aka br_table), with a list of labels, a default label, a condition, and an optional value. * `call(name, operands, type)`: Create a call, to a function name, with operands, and having a specific return type (note that we must specify the return type here as we may not have created the function being called yet, and we may want to optimize this function before we do so, so the API requires that each function be independent of the others, which means that we can't depend on the definition of another function). - * `call(name, operands, type)`: Similar to `call`, but calls an imported function. + * `callImport(name, operands, type)`: Similar to `call`, but calls an imported function. * `callIndirect(target, operands, type)`: Similar to `call`, but calls indirectly, i.e., via a function pointer, so an expression replaces the name as the called value. * `getLocal(index, type)`: Create a get_local, for the local at the specified index, and having a specific type (the type is required for the same reasons as in `call`). * `setLocal(index, value)`: Create a set_local, for the local at the specified index, and setting the specified value. |