summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-09-21 13:33:51 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-09-21 13:53:41 -0700
commit3355792fba29e62f02cf1f1acb3a219cf5a69970 (patch)
tree5b6b4145d05bf248e080b784d23ff1d43310f328 /test
parent228b9a1cfc89ede2dcc064de9b2e60f53a047128 (diff)
downloadbinaryen-3355792fba29e62f02cf1f1acb3a219cf5a69970.tar.gz
binaryen-3355792fba29e62f02cf1f1acb3a219cf5a69970.tar.bz2
binaryen-3355792fba29e62f02cf1f1acb3a219cf5a69970.zip
new if label behavior
Diffstat (limited to 'test')
-rw-r--r--test/passes/remove-unused-brs.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/passes/remove-unused-brs.txt b/test/passes/remove-unused-brs.txt
index 7d76db7f0..33ec51ea5 100644
--- a/test/passes/remove-unused-brs.txt
+++ b/test/passes/remove-unused-brs.txt
@@ -299,7 +299,7 @@
(i32.const 1)
)
(block $block2
- (block $block3
+ (block $block1
(drop
(i32.const 2)
)
@@ -313,7 +313,7 @@
(if
(i32.const 0)
(block $block4
- (block $block5
+ (block $block3
(drop
(i32.const 2)
)
@@ -329,7 +329,7 @@
)
(if
(block $block6 i32
- (block $block7
+ (block $block5
(drop
(i32.const 2)
)
@@ -349,14 +349,14 @@
(i32.const 0)
)
(block $a
- (block $block11
+ (block $block7
(drop
(i32.const 1)
)
)
)
(block $a
- (block $block13
+ (block $block8
(drop
(i32.const 2)
)
@@ -535,7 +535,7 @@
(block $out
(if
(i32.const 0)
- (block $block15
+ (block $block13
(drop
(i32.const 1)
)
@@ -580,7 +580,7 @@
(block $out
(if
(i32.const 0)
- (block $block22
+ (block $block17
(drop
(i32.const 1)
)
@@ -801,7 +801,7 @@
(i32.const 1)
)
(br $out
- (block $block2 i32
+ (block $block1 i32
(set_local $x
(i32.const 0)
)