diff options
| author | Luke Wagner <mail@lukewagner.name> | 2016-03-02 18:38:01 -0600 |
|---|---|---|
| committer | Luke Wagner <mail@lukewagner.name> | 2016-03-02 18:38:01 -0600 |
| commit | 4a4d492356864a77c63045d84eee2c23e3251992 (patch) | |
| tree | 6333bbd3cdca24cb9f490172d7447f70d008b24e /BinaryEncoding.md | |
| parent | 8fe466975b514feffacffe2df52e3cfc2817895e (diff) | |
| parent | 6ad3767469f088a7470d1588e7970d06ce34499d (diff) | |
| download | nanowasm-design-4a4d492356864a77c63045d84eee2c23e3251992.tar.gz | |
Merge pull request #581 from WebAssembly/rm-globals
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 1452887..a34e63c 100644 --- a/BinaryEncoding.md +++ b/BinaryEncoding.md @@ -244,29 +244,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 | |
