summaryrefslogtreecommitdiff
path: root/test/print
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2017-09-22 12:52:35 -0700
committerGitHub <noreply@github.com>2017-09-22 12:52:35 -0700
commitdb66e646df6512d4eb2be344778001c62402e4c5 (patch)
treebcc070601de788d6ffa407164f2ce00ac3bab128 /test/print
parentb29158db92c6fdab578b8b550cb965b020901768 (diff)
downloadbinaryen-db66e646df6512d4eb2be344778001c62402e4c5.tar.gz
binaryen-db66e646df6512d4eb2be344778001c62402e4c5.tar.bz2
binaryen-db66e646df6512d4eb2be344778001c62402e4c5.zip
Update text syntax for shared memory limits (#1197)
Following WebAssembly/threads#58 e.g. (memory $0 23 256 shared) is now (memory $0 (shared 23 256))
Diffstat (limited to 'test/print')
-rw-r--r--test/print/memory-import-shared.minified.txt2
-rw-r--r--test/print/memory-import-shared.txt2
-rw-r--r--test/print/memory-import-shared.wast2
-rw-r--r--test/print/memory-notshared.minified.txt2
-rw-r--r--test/print/memory-notshared.txt3
-rw-r--r--test/print/memory-notshared.wast3
-rw-r--r--test/print/memory-shared.minified.txt2
-rw-r--r--test/print/memory-shared.txt2
-rw-r--r--test/print/memory-shared.wast2
9 files changed, 6 insertions, 14 deletions
diff --git a/test/print/memory-import-shared.minified.txt b/test/print/memory-import-shared.minified.txt
index 56d11ab17..8691f813c 100644
--- a/test/print/memory-import-shared.minified.txt
+++ b/test/print/memory-import-shared.minified.txt
@@ -1 +1 @@
-(module(import "env" "memory" (memory $0 256 shared))) \ No newline at end of file
+(module(import "env" "memory" (memory $0 (shared 256 256)))) \ No newline at end of file
diff --git a/test/print/memory-import-shared.txt b/test/print/memory-import-shared.txt
index 7bbb11ab1..ba5a0463c 100644
--- a/test/print/memory-import-shared.txt
+++ b/test/print/memory-import-shared.txt
@@ -1,3 +1,3 @@
(module
- (import "env" "memory" (memory $0 256 shared))
+ (import "env" "memory" (memory $0 (shared 256 256)))
)
diff --git a/test/print/memory-import-shared.wast b/test/print/memory-import-shared.wast
index 7bbb11ab1..ba5a0463c 100644
--- a/test/print/memory-import-shared.wast
+++ b/test/print/memory-import-shared.wast
@@ -1,3 +1,3 @@
(module
- (import "env" "memory" (memory $0 256 shared))
+ (import "env" "memory" (memory $0 (shared 256 256)))
)
diff --git a/test/print/memory-notshared.minified.txt b/test/print/memory-notshared.minified.txt
deleted file mode 100644
index 905aff3d5..000000000
--- a/test/print/memory-notshared.minified.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-(module(memory $0 23 256)
-) \ No newline at end of file
diff --git a/test/print/memory-notshared.txt b/test/print/memory-notshared.txt
deleted file mode 100644
index 604a6b1ce..000000000
--- a/test/print/memory-notshared.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-(module
- (memory $0 23 256)
-)
diff --git a/test/print/memory-notshared.wast b/test/print/memory-notshared.wast
deleted file mode 100644
index 4a7b8449a..000000000
--- a/test/print/memory-notshared.wast
+++ /dev/null
@@ -1,3 +0,0 @@
-(module
- (memory $0 23 256 notshared)
-)
diff --git a/test/print/memory-shared.minified.txt b/test/print/memory-shared.minified.txt
index 3f07a0080..c6aeccdcd 100644
--- a/test/print/memory-shared.minified.txt
+++ b/test/print/memory-shared.minified.txt
@@ -1,2 +1,2 @@
-(module(memory $0 23 256 shared)
+(module(memory $0 (shared 23 256))
) \ No newline at end of file
diff --git a/test/print/memory-shared.txt b/test/print/memory-shared.txt
index daff79f22..ee02979b1 100644
--- a/test/print/memory-shared.txt
+++ b/test/print/memory-shared.txt
@@ -1,3 +1,3 @@
(module
- (memory $0 23 256 shared)
+ (memory $0 (shared 23 256))
)
diff --git a/test/print/memory-shared.wast b/test/print/memory-shared.wast
index daff79f22..ee02979b1 100644
--- a/test/print/memory-shared.wast
+++ b/test/print/memory-shared.wast
@@ -1,3 +1,3 @@
(module
- (memory $0 23 256 shared)
+ (memory $0 (shared 23 256))
)