summaryrefslogtreecommitdiff
path: root/test/min.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/min.wast.fromBinary')
-rw-r--r--test/min.wast.fromBinary25
1 files changed, 12 insertions, 13 deletions
diff --git a/test/min.wast.fromBinary b/test/min.wast.fromBinary
index 358132c5f..0c1fe8571 100644
--- a/test/min.wast.fromBinary
+++ b/test/min.wast.fromBinary
@@ -30,23 +30,22 @@
)
(func $littleswitch (type $2) (param $var$0 i32) (result i32)
(block $label$0
- (tableswitch $label$3
- (i32.sub
- (get_local $var$0)
- (i32.const 1)
- )
- (table (case $label$1) (case $label$2)) (case $label$1)
- (case $label$1
- (br $label$0
- (i32.const 1)
+ (block $label$1
+ (block $label$2
+ (br_table $label$2 $label$1 $label$2
+ (i32.sub
+ (get_local $var$0)
+ (i32.const 1)
+ )
)
)
- (case $label$2
- (br $label$0
- (i32.const 2)
- )
+ (br $label$0
+ (i32.const 1)
)
)
+ (br $label$0
+ (i32.const 2)
+ )
(i32.const 0)
)
)