aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorJF Bastien <github@jfbastien.com>2015-07-09 09:21:41 -0700
committerJF Bastien <github@jfbastien.com>2015-07-09 09:21:41 -0700
commitfd4538172fc1f981e683cacd5c2a7a08ce64a45c (patch)
tree28348cf1c247b6cb4242adeb41b80d2c0cbb54d3 /BinaryEncoding.md
parent01b23a00737911e34f5f64f4c003b92dae54979c (diff)
parente792b30feaa9b2d9fe406a47f4f8b5429388a15a (diff)
downloadnanowasm-design-fd4538172fc1f981e683cacd5c2a7a08ce64a45c.tar.gz
Merge pull request #245 from WebAssembly/types-and-linear-memory
Types and linear memory
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index 093b9cf..f360d62 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -79,7 +79,7 @@ Yes:
* A `definitions` section contains (in this order):
- The generic section header
- A table (sorted by offset) containing, for each type which has opcodes:
- + A standardized string literal [type name](AstSemantics.md#local-and-memory-types).
+ + A standardized string literal [type name](AstSemantics.md#expression-types).
The index of a type name in this table is referred to as a type ID
+ 64-bit offset of its opcode table within the section
- A sequence of opcode tables
@@ -94,7 +94,7 @@ Yes:
+ 64-bit offset within the section
- A sequence of functions
- A function contains:
- + A table containing, for each type ID that has [locals](AstSemantics.md#addressing-local-variables):
+ + A table containing, for each type ID that has [locals](AstSemantics.md#local-variables):
* Type ID
* Count of locals
+ The serialized AST