Skip to content

Commit 7196dd2

Browse files
committed
update binaryenjs tests
1 parent d6b5411 commit 7196dd2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/binaryen.js/atomics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var wast = `
22
(module
3-
(memory $0 (shared 1 1))
3+
(memory $0 1 1 shared)
44
)
55
`;
66

test/binaryen.js/atomics.js.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(module
22
(type $0 (func))
3-
(memory $0 (shared 1 1))
3+
(memory $0 1 1 shared)
44
(func $main
55
(i32.atomic.store
66
(i32.const 0)

test/binaryen.js/kitchen-sink.js.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7}
139139
(import "module" "base" (func $an-imported (type $2) (param i32 f64) (result f32)))
140140
(import "module" "base" (tag $a-tag-imp (param i32)))
141141
(global $a-global i32 (i32.const 1))
142-
(memory $0 (shared 1 256))
142+
(memory $0 1 256 shared)
143143
(data $0 (i32.const 10) "hello, world")
144144
(data $1 "I am passive")
145145
(table $t0 1 funcref)
@@ -2243,7 +2243,7 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7}
22432243
(import "module" "base" (func $an-imported (type $2) (param i32 f64) (result f32)))
22442244
(import "module" "base" (tag $a-tag-imp (param i32)))
22452245
(global $a-global i32 (i32.const 1))
2246-
(memory $0 (shared 1 256))
2246+
(memory $0 1 256 shared)
22472247
(data $0 (i32.const 10) "hello, world")
22482248
(data $1 "I am passive")
22492249
(table $t0 1 funcref)

0 commit comments

Comments
 (0)