summaryrefslogtreecommitdiff
path: root/test/passes/remove-unused-names_merge-blocks_all-features.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/remove-unused-names_merge-blocks_all-features.wast')
-rw-r--r--test/passes/remove-unused-names_merge-blocks_all-features.wast32
1 files changed, 0 insertions, 32 deletions
diff --git a/test/passes/remove-unused-names_merge-blocks_all-features.wast b/test/passes/remove-unused-names_merge-blocks_all-features.wast
index 6869db6ad..8e0145900 100644
--- a/test/passes/remove-unused-names_merge-blocks_all-features.wast
+++ b/test/passes/remove-unused-names_merge-blocks_all-features.wast
@@ -1570,36 +1570,4 @@
)
)
)
-
- ;; 'call $foo' within 'block' of `br_on_exn' can be hoisted
- (func $br_on_exn (result i32) (local $0 exnref)
- (block $label$0 (result i32)
- (drop
- (br_on_exn $label$0 $e
- (block (result exnref)
- (call $foo)
- (local.get $0)
- )
- )
- )
- (i32.const 3)
- )
- )
-
- ;; Unlike br_if, br_on_exn's exnref argument itself cannot be extracted.
- ;; Without proper handling for br_on_exn in ProblemFinder, this crashes.
- (func $cannot_extract_br_on_exn_exnref (local $0 exnref)
- (block
- (drop
- (block $label$0 (result i32)
- (drop
- (br_on_exn $label$0 $e
- (local.get $0)
- )
- )
- (i32.const 5)
- )
- )
- )
- )
)