diff options
| author | Luke Wagner <mail@lukewagner.name> | 2016-09-05 10:13:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-05 10:13:48 -0500 |
| commit | 1e6bf08f4c5416cf2c5476d2e0dbdc882f986490 (patch) | |
| tree | e286de0e2fdc1447dcfa49edb33ebd9df7f689b4 /Modules.md | |
| parent | 1bd8f3407ab07173ac35d39934a8e043287addc0 (diff) | |
| download | nanowasm-design-1e6bf08f4c5416cf2c5476d2e0dbdc882f986490.tar.gz | |
Move segment and start operations to the end of instantiation in JS.md (#780)
* Move segment and start operations to the end
* Add link to Assert
* Fix grammar, add imported Tables link
Diffstat (limited to 'Modules.md')
| -rw-r--r-- | Modules.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -61,7 +61,8 @@ mismatch. A *global variable import* includes the *value type* and *mutability* of the global variable. These fields have the same meaning as in the -[Global section](#global-section). +[Global section](#global-section). In the MVP, global variable imports must be +*immutable*. A *linear memory import* includes the same set of fields defined in the [Linear Memory section](#linear-memory-section): *default flag*, *initial @@ -116,6 +117,8 @@ if another WebAssembly instance imports the definition, then both instances will share the same definition and the associated state (global variable value, linear memory bytes, table elements) is shared. +In the MVP, only *immutable* global variables can be exported. + ## Integration with ES6 modules While ES6 defines how to parse, link and execute a module, ES6 does not |
