aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorJF Bastien <github@jfbastien.com>2015-06-30 20:15:14 -0700
committerJF Bastien <github@jfbastien.com>2015-06-30 20:15:14 -0700
commit50c1458ea12b0b86476621e2e62ed806452a9b43 (patch)
tree7223f35fa37448d621dc6f380b82b58283c8c714 /BinaryEncoding.md
parent5f700c1641e3bc2d1fb63f56e887ddd8dd8c59b4 (diff)
downloadnanowasm-design-50c1458ea12b0b86476621e2e62ed806452a9b43.tar.gz
Minor edits to binary encoding of global structure
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 3ccc9f9..093b9cf 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -81,7 +81,7 @@ Yes:
- A table (sorted by offset) containing, for each type which has opcodes:
+ A standardized string literal [type name](AstSemantics.md#local-and-memory-types).
The index of a type name in this table is referred to as a type ID
- + 32-bit offset of its opcode table within the section
+ + 64-bit offset of its opcode table within the section
- A sequence of opcode tables
- An opcode table contains:
+ A sequence of standardized string literal [opcode names](AstSemantics.md),
@@ -90,6 +90,7 @@ Yes:
- The generic section header
- A table (sorted by offset) containing, for each function:
+ Signature
+ + Function attributes, valid attributes TBD (could include hot/cold, optimization level, noreturn, read/write/pure, ...)
+ 64-bit offset within the section
- A sequence of functions
- A function contains: