aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2016-03-04 11:04:04 -0800
committerDan Gohman <sunfish@mozilla.com>2016-03-04 11:04:04 -0800
commit0146d348c19c6f4032f6222eeabddfc6648cb93d (patch)
treec0c0366f5c6362d077e20f3cffa76cb0359c9c5e /BinaryEncoding.md
parent50d18c8c0268c730d9af8f8cc65de732fe8e05a9 (diff)
parent78472b4c501815dec03d7b2cda8a25093b489359 (diff)
downloadnanowasm-design-0146d348c19c6f4032f6222eeabddfc6648cb93d.tar.gz
Merge pull request #588 from WebAssembly/call-import
Add a call_import opcode
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index a48b3e2..80b14d6 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -316,8 +316,9 @@ out of range, `br_table` branches to the default target.
| `set_local` | `0x0f` | local_index = `varuint32` | write a local variable or parameter |
| `load_global` | `0x10` | index = `varuint32` | * nonstandard internal opcode |
| `store_global` | `0x11` | index = `varuint32` | * nonstandard internal opcode |
-| `call_function` | `0x12` | function_index = `varuint32` | call a function by its index |
+| `call` | `0x12` | function_index = `varuint32` | call a function by its index |
| `call_indirect` | `0x13` | signature_index = `varuint32` | call a function indirect with an expected signature |
+| `call_import` | `0x09` | import_index = `varuint32` | call an imported function by its index |
## Memory-related operators ([described here](AstSemantics.md#linear-memory-accesses))