From 6ad3767469f088a7470d1588e7970d06ce34499d Mon Sep 17 00:00:00 2001 From: Luke Wagner Date: Tue, 1 Mar 2016 19:49:54 -0600 Subject: Remove nonstandard Globals section --- BinaryEncoding.md | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'BinaryEncoding.md') 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 | -- cgit v1.2.3