summaryrefslogtreecommitdiff
path: root/test/example
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2016-09-27 22:38:56 -0700
committerGitHub <noreply@github.com>2016-09-27 22:38:56 -0700
commitef22ce6c360b70b5bfad40b2930c481d48ed9780 (patch)
tree4f94a7f236d5e6dd9f0b3017968b4efb6954e32a /test/example
parentea5b5e20910d8b1773a2adeaad5c92a5f37d0cab (diff)
downloadbinaryen-ef22ce6c360b70b5bfad40b2930c481d48ed9780.tar.gz
binaryen-ef22ce6c360b70b5bfad40b2930c481d48ed9780.tar.bz2
binaryen-ef22ce6c360b70b5bfad40b2930c481d48ed9780.zip
Update binary encoding for block, loop, and if signatures (#711)
Also updates the tests and has a few other changes for binary 0xc: Update nop/unrechable opcodes Fix for "name" section
Diffstat (limited to 'test/example')
-rw-r--r--test/example/c-api-kitchen-sink.txt8
-rw-r--r--test/example/c-api-kitchen-sink.txt.txt4
2 files changed, 6 insertions, 6 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index b66982140..8b4de4402 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -415,12 +415,12 @@ BinaryenFloat64: 4
)
)
(drop
- (loop $in
+ (loop $in i32
(i32.const 0)
)
)
(drop
- (loop
+ (loop i32
(i32.const 0)
)
)
@@ -1958,12 +1958,12 @@ int main() {
)
)
(drop
- (loop $in
+ (loop $in i32
(i32.const 0)
)
)
(drop
- (loop
+ (loop i32
(i32.const 0)
)
)
diff --git a/test/example/c-api-kitchen-sink.txt.txt b/test/example/c-api-kitchen-sink.txt.txt
index b42c1ec34..4d166cc2e 100644
--- a/test/example/c-api-kitchen-sink.txt.txt
+++ b/test/example/c-api-kitchen-sink.txt.txt
@@ -410,12 +410,12 @@
)
)
(drop
- (loop $in
+ (loop $in i32
(i32.const 0)
)
)
(drop
- (loop
+ (loop i32
(i32.const 0)
)
)