summaryrefslogtreecommitdiff
path: root/test/binaryen.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js')
-rw-r--r--test/binaryen.js/atomics.js2
-rw-r--r--test/binaryen.js/atomics.js.txt2
-rw-r--r--test/binaryen.js/kitchen-sink.js.txt4
3 files changed, 4 insertions, 4 deletions
diff --git a/test/binaryen.js/atomics.js b/test/binaryen.js/atomics.js
index ce68656e0..471e4c529 100644
--- a/test/binaryen.js/atomics.js
+++ b/test/binaryen.js/atomics.js
@@ -1,6 +1,6 @@
var wast = `
(module
- (memory $0 (shared 1 1))
+ (memory $0 1 1 shared)
)
`;
diff --git a/test/binaryen.js/atomics.js.txt b/test/binaryen.js/atomics.js.txt
index 40d2be26a..aec17b82a 100644
--- a/test/binaryen.js/atomics.js.txt
+++ b/test/binaryen.js/atomics.js.txt
@@ -1,6 +1,6 @@
(module
(type $0 (func))
- (memory $0 (shared 1 1))
+ (memory $0 1 1 shared)
(func $main
(i32.atomic.store
(i32.const 0)
diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt
index 8c6138413..bbef03377 100644
--- a/test/binaryen.js/kitchen-sink.js.txt
+++ b/test/binaryen.js/kitchen-sink.js.txt
@@ -139,7 +139,7 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7}
(import "module" "base" (func $an-imported (type $2) (param i32 f64) (result f32)))
(import "module" "base" (tag $a-tag-imp (param i32)))
(global $a-global i32 (i32.const 1))
- (memory $0 (shared 1 256))
+ (memory $0 1 256 shared)
(data $0 (i32.const 10) "hello, world")
(data $1 "I am passive")
(table $t0 1 funcref)
@@ -2243,7 +2243,7 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7}
(import "module" "base" (func $an-imported (type $2) (param i32 f64) (result f32)))
(import "module" "base" (tag $a-tag-imp (param i32)))
(global $a-global i32 (i32.const 1))
- (memory $0 (shared 1 256))
+ (memory $0 1 256 shared)
(data $0 (i32.const 10) "hello, world")
(data $1 "I am passive")
(table $t0 1 funcref)