summaryrefslogtreecommitdiff
path: root/test/passes/code-pushing_all-features.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/code-pushing_all-features.wast')
-rw-r--r--test/passes/code-pushing_all-features.wast4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/passes/code-pushing_all-features.wast b/test/passes/code-pushing_all-features.wast
index 0c17c0bab..b7f12bb0a 100644
--- a/test/passes/code-pushing_all-features.wast
+++ b/test/passes/code-pushing_all-features.wast
@@ -72,12 +72,12 @@
;; This local.set cannot be pushed down, because there is 'rethrow' within
;; the inner catch_all
(local.set $x (i32.const 1))
- (try
+ (try $l0
(do
(throw $e (i32.const 0))
)
(catch_all
- (rethrow 0)
+ (rethrow $l0)
)
)
(drop (i32.const 1))