Skip to content

Commit 6f101d6

Browse files
authored
Revert parameterization of limits that was added in WebAssembly#13. (WebAssembly#59)
See WebAssembly#50 (comment)
1 parent 415cdaf commit 6f101d6

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

proposals/memory64/Overview.md

+5-11
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,16 @@ have to support 32-bit memory addresses in their ABI.
5959

6060
### Structure
6161

62+
* The [limits][syntax limits] structure is changed to use `u64`
63+
 - `limits ::= {min u64, max u64?}`
64+
6265
* A new `idxtype` can be either `i32` or `i64`
6366
- `idxtype ::= i32 | i64`
6467

65-
* The [limits][syntax limits] structure is parameterised by index syntax
66-
- `limits(iv) ::= {min iv, max iv?}`
67-
The parameter is omitted where it is immaterial.
68-
6968
* The [memory type][syntax memtype] and [table type][syntax tabletype]
7069
structures are extended to include an index type
71-
- `memtype ::= idxtype limits(type(iv))`
72-
- `tabletype ::= idxtype limits(type(iv)) reftype`
73-
- where
74-
```
75-
type(\i32) = \I32
76-
type(\i64) = \I64
77-
```
70+
- `memtype ::= idxtype limits`
71+
- `tabletype ::= idxtype limits reftype`
7872

7973
* The [memarg][syntax memarg] immediate is changed to allow a 64-bit offset
8074
- `memarg ::= {offset u64, align u32}`

0 commit comments

Comments
 (0)