summaryrefslogtreecommitdiff
path: root/test/exception-handling.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/exception-handling.wast')
-rw-r--r--test/exception-handling.wast6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/exception-handling.wast b/test/exception-handling.wast
index 3dcff41e4..862b82d88 100644
--- a/test/exception-handling.wast
+++ b/test/exception-handling.wast
@@ -17,7 +17,7 @@
(catch
;; Multi-value is not available yet, so block can't take a value from
;; stack. So this uses locals for now.
- (local.set $exn (exnref.pop))
+ (local.set $exn (pop exnref))
(drop
(block $l0 (result i32)
(rethrow
@@ -42,7 +42,7 @@
(try
(do)
(catch
- (drop (exnref.pop))
+ (drop (pop exnref))
)
)
@@ -53,7 +53,7 @@
(call $bar)
)
(catch
- (drop (exnref.pop))
+ (drop (pop exnref))
(call $foo)
(call $bar)
)