summaryrefslogtreecommitdiff
path: root/test/passes/remove-unused-names_optimize-instructions_all-features.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/remove-unused-names_optimize-instructions_all-features.txt')
-rw-r--r--test/passes/remove-unused-names_optimize-instructions_all-features.txt20
1 files changed, 13 insertions, 7 deletions
diff --git a/test/passes/remove-unused-names_optimize-instructions_all-features.txt b/test/passes/remove-unused-names_optimize-instructions_all-features.txt
index 84405cd17..182916755 100644
--- a/test/passes/remove-unused-names_optimize-instructions_all-features.txt
+++ b/test/passes/remove-unused-names_optimize-instructions_all-features.txt
@@ -12,7 +12,9 @@
(local $x3 i32)
(local.set $x0
(try (result i32)
- (i32.const 1)
+ (do
+ (i32.const 1)
+ )
(catch
(drop
(exnref.pop)
@@ -26,7 +28,7 @@
)
(local.set $x1
(try (result i32)
- (block (result i32)
+ (do
(call $dummy)
(i32.const 1)
)
@@ -46,10 +48,12 @@
)
(local.set $x2
(try (result i32)
- (block (result i32)
+ (do
(try
- (throw $e
- (i32.const 0)
+ (do
+ (throw $e
+ (i32.const 0)
+ )
)
(catch
(drop
@@ -72,9 +76,11 @@
)
(local.set $x3
(try (result i32)
- (block (result i32)
+ (do
(try
- (nop)
+ (do
+ (nop)
+ )
(catch
(drop
(exnref.pop)