diff options
| author | Luke Wagner <luke@mozilla.com> | 2016-03-01 19:49:54 -0600 |
|---|---|---|
| committer | Luke Wagner <luke@mozilla.com> | 2016-03-01 19:49:54 -0600 |
| commit | 6ad3767469f088a7470d1588e7970d06ce34499d (patch) | |
| tree | 9c30cc17ef06121ec4fc52014612105e4fb3fffc /BinaryEncoding.md | |
| parent | e7c0ac5aac60fb7745532074a8a38ac0bbec6bc4 (diff) | |
| download | nanowasm-design-6ad3767469f088a7470d1588e7970d06ce34499d.tar.gz | |
Remove nonstandard Globals section
Diffstat (limited to 'BinaryEncoding.md')
| -rw-r--r-- | BinaryEncoding.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md index 926f744..85c1103 100644 --- a/BinaryEncoding.md +++ b/BinaryEncoding.md @@ -250,29 +250,6 @@ by the decoder. It can used, for example, to store function names or data segmen | Field | Type | Description | | ----- | ----- | ----- | - -### Nonstandard: Globals section - -ID: `globals` - -A module may only contain one globals section. This section is currently for V8 internal use. - -| Field | Type | Description | -| ----- | ----- | ----- | -| count | `varuint32` | count of global variable entries to follow | -| entries | `global_variable*` | repeated global variable entries as described below | - -#### Global Variable entry - -A global variable entry describes a variable outside the WASM linear memory. A Global variable can only be loaded and -stored to from dedicated instructions. - -| Field | Type | Description | -| ----- | ----- | ----- | -| name | `uint32` | name of the global variable as an offset to a string in the module | -| type | `uint8` | the type of the global, as a memory type | -| exported | `uint8` | a boolean indicating whether the global variable is exported | - ### Unknown sections | Field | Type | Description | |
