summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/emcc_hello_world.fromasm1
-rw-r--r--test/emcc_hello_world.fromasm.imprecise1
-rw-r--r--test/passes/remove-unused-brs.txt8
3 files changed, 4 insertions, 6 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index 9d50d32b2..75e2bf024 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -10864,7 +10864,6 @@
(get_local $$arg)
(get_local $$110)
)
- (br $label$break$L1)
)
)
)
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index b303c5cac..4ada9b367 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -10862,7 +10862,6 @@
(get_local $$arg)
(get_local $$110)
)
- (br $label$break$L1)
)
)
)
diff --git a/test/passes/remove-unused-brs.txt b/test/passes/remove-unused-brs.txt
index 2404e7b39..226065f3f 100644
--- a/test/passes/remove-unused-brs.txt
+++ b/test/passes/remove-unused-brs.txt
@@ -169,9 +169,9 @@
(block $a
(block $b
(block $c
- (br $a)
+ (nop)
)
- (br $a)
+ (nop)
)
(nop)
)
@@ -187,9 +187,9 @@
(block $a
(block $b
(block $c
- (br $b)
+ (nop)
)
- (br $a)
+ (nop)
)
(nop)
)