aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorLiigo Zhuang <liigo@qq.com>2016-05-17 15:19:34 +0800
committerrossberg-chromium <rossberg@chromium.org>2016-05-17 09:19:34 +0200
commit38a8c079fb0f9ea025c677b68fd6cc622b6dd9ff (patch)
treeec0ed483a906f7e6b9b6009280423bb6d545e0ca /BinaryEncoding.md
parent76a4ae125ec2fcb7d5c767e4e600873f0d8380f0 (diff)
downloadnanowasm-design-38a8c079fb0f9ea025c677b68fd6cc622b6dd9ff.tar.gz
Fix typos in function bodies (#691)
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index 482e2dc..3e20f5f 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -304,10 +304,10 @@ Each node in the abstract syntax tree corresponds to an operator, such as `i32.a
Operators are encoding by an opcode byte followed by immediate bytes (if any), followed by children
nodes (if any).
-| Name | Opcode |Description |
+| Field | Type |Description |
| ----- | ----- | ----- |
-| body size | `varuint32` | size of function body to follow, in bytes |
-| local count | `varuint32` | number of local entries |
+| body_size | `varuint32` | size of function body to follow, in bytes |
+| local_count | `varuint32` | number of local entries |
| locals | `local_entry*` | local variables |
| ast | `byte*` | pre-order encoded AST |