diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2020-10-26 15:46:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 15:46:16 -0700 |
commit | 8e42376ccd5f05dc1036f91b4262e67b0fc66c2d (patch) | |
tree | 8d20862bff763460a5632d9a705ffb0f77a8d4cd /test/parse/expr | |
parent | 30af7afe3c27fd2957036eb09453f74ecc75ac67 (diff) | |
download | wabt-8e42376ccd5f05dc1036f91b4262e67b0fc66c2d.tar.gz wabt-8e42376ccd5f05dc1036f91b4262e67b0fc66c2d.tar.bz2 wabt-8e42376ccd5f05dc1036f91b4262e67b0fc66c2d.zip |
Changes required to make the new Memory64 spec tests run (#1560)
These uncovered some things the previous tests didn't!
Also required the switching of the location of the index as discussed in https://github.com/WebAssembly/memory64/issues/5
Also one small .py change that ensures the new tests have consistent posix paths.
Diffstat (limited to 'test/parse/expr')
-rw-r--r-- | test/parse/expr/atomic64.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/bulk-memory-named64.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/grow-memory64.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/load64.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/memory-copy64.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/memory-fill64.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/memory-init64.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/store64.txt | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/test/parse/expr/atomic64.txt b/test/parse/expr/atomic64.txt index fb911e55..d907c13b 100644 --- a/test/parse/expr/atomic64.txt +++ b/test/parse/expr/atomic64.txt @@ -1,7 +1,7 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-threads --enable-memory64 (module - (memory 1 1 shared i64) + (memory i64 1 1 shared) (func i64.const 0 i32.const 0 atomic.notify drop i64.const 0 i32.const 0 i64.const 0 i32.atomic.wait drop diff --git a/test/parse/expr/bulk-memory-named64.txt b/test/parse/expr/bulk-memory-named64.txt index e90d41d8..842bbb12 100644 --- a/test/parse/expr/bulk-memory-named64.txt +++ b/test/parse/expr/bulk-memory-named64.txt @@ -2,7 +2,7 @@ ;;; ARGS: --enable-bulk-memory --enable-memory64 (module - (memory 1 i64) + (memory i64 1) (data $data "a") (func i64.const 0 i32.const 0 i32.const 0 memory.init $data diff --git a/test/parse/expr/grow-memory64.txt b/test/parse/expr/grow-memory64.txt index 86157173..17531b8d 100644 --- a/test/parse/expr/grow-memory64.txt +++ b/test/parse/expr/grow-memory64.txt @@ -1,7 +1,7 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-memory64 (module - (memory 1 i64) + (memory i64 1) (func i64.const 100 grow_memory diff --git a/test/parse/expr/load64.txt b/test/parse/expr/load64.txt index 528f8dbe..2ff7493b 100644 --- a/test/parse/expr/load64.txt +++ b/test/parse/expr/load64.txt @@ -1,7 +1,7 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-memory64 (module - (memory 1 i64) + (memory i64 1) (func i64.const 0 i32.load diff --git a/test/parse/expr/memory-copy64.txt b/test/parse/expr/memory-copy64.txt index aa942e99..108f1260 100644 --- a/test/parse/expr/memory-copy64.txt +++ b/test/parse/expr/memory-copy64.txt @@ -1,7 +1,7 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-bulk-memory --enable-memory64 (module - (memory 0 i64) + (memory i64 0) (func i64.const 0 diff --git a/test/parse/expr/memory-fill64.txt b/test/parse/expr/memory-fill64.txt index fb7eaf37..0e87bf09 100644 --- a/test/parse/expr/memory-fill64.txt +++ b/test/parse/expr/memory-fill64.txt @@ -1,7 +1,7 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-bulk-memory --enable-memory64 (module - (memory 0 i64) + (memory i64 0) (func i64.const 0 diff --git a/test/parse/expr/memory-init64.txt b/test/parse/expr/memory-init64.txt index 93fe469e..1316e91f 100644 --- a/test/parse/expr/memory-init64.txt +++ b/test/parse/expr/memory-init64.txt @@ -1,7 +1,7 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-bulk-memory --enable-memory64 (module - (memory 0 i64) + (memory i64 0) (func i64.const 0 diff --git a/test/parse/expr/store64.txt b/test/parse/expr/store64.txt index f6370d13..05380608 100644 --- a/test/parse/expr/store64.txt +++ b/test/parse/expr/store64.txt @@ -1,7 +1,7 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-memory64 (module - (memory 1 i64) + (memory i64 1) (func i64.const 0 i32.const 0 |