summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-01-07 12:32:32 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-01-07 12:32:32 -0800
commit2faeb4e6608807455e6411e02c48ef5c03bae654 (patch)
treea845ddc1b5c66fd54bf0bd2937deb25cb98cd51c /test
parent0c7e5beba6a1e2f5a6f23d20acc4cdce72f29f20 (diff)
downloadbinaryen-2faeb4e6608807455e6411e02c48ef5c03bae654.tar.gz
binaryen-2faeb4e6608807455e6411e02c48ef5c03bae654.tar.bz2
binaryen-2faeb4e6608807455e6411e02c48ef5c03bae654.zip
fix default being a br in switch #70
Diffstat (limited to 'test')
-rw-r--r--test/llvm_autogenerated/cfg-stackify.wast2
-rw-r--r--test/llvm_autogenerated/switch.wast4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/llvm_autogenerated/cfg-stackify.wast b/test/llvm_autogenerated/cfg-stackify.wast
index 979a63840..5b2e1826d 100644
--- a/test/llvm_autogenerated/cfg-stackify.wast
+++ b/test/llvm_autogenerated/cfg-stackify.wast
@@ -911,7 +911,7 @@
)
(tableswitch
(get_local $$2)
- (table (br $BB19_3) (br $BB19_5) (br $BB19_1) (br $BB19_2) (br $BB19_6)) (case $BB19_3)
+ (table (br $BB19_3) (br $BB19_5) (br $BB19_1) (br $BB19_2) (br $BB19_6)) (br $BB19_3)
)
)
)
diff --git a/test/llvm_autogenerated/switch.wast b/test/llvm_autogenerated/switch.wast
index 7f33f0384..34676d082 100644
--- a/test/llvm_autogenerated/switch.wast
+++ b/test/llvm_autogenerated/switch.wast
@@ -27,7 +27,7 @@
(block $BB0_2
(tableswitch
(get_local $$0)
- (table (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_5) (br $BB0_6) (br $BB0_7)) (case $BB0_2)
+ (table (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_2) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_3) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_4) (br $BB0_5) (br $BB0_6) (br $BB0_7)) (br $BB0_2)
)
)
(call_import $foo0)
@@ -72,7 +72,7 @@
(i32.wrap/i64
(get_local $$0)
)
- (table (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_5) (br $BB1_6) (br $BB1_7)) (case $BB1_2)
+ (table (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_2) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_3) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_4) (br $BB1_5) (br $BB1_6) (br $BB1_7)) (br $BB1_2)
)
)
(call_import $foo0)