summaryrefslogtreecommitdiff
path: root/test/exception-handling.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/exception-handling.wast.fromBinary')
-rw-r--r--test/exception-handling.wast.fromBinary68
1 files changed, 34 insertions, 34 deletions
diff --git a/test/exception-handling.wast.fromBinary b/test/exception-handling.wast.fromBinary
index 74e8f4d4a..73a4ae975 100644
--- a/test/exception-handling.wast.fromBinary
+++ b/test/exception-handling.wast.fromBinary
@@ -4,11 +4,11 @@
(type $i64_=>_none (func (param i64)))
(type $i32_i64_=>_none (func (param i32 i64)))
(type $eqref_=>_none (func (param eqref)))
- (tag $tag$0 (param i32))
- (tag $tag$1 (param i64))
- (tag $tag$2 (param i32 i64))
- (tag $tag$3 (param eqref))
- (tag $tag$4 (param))
+ (tag $e-i32 (param i32))
+ (tag $e-i64 (param i64))
+ (tag $e-i32-i64 (param i32 i64))
+ (tag $e-eqref (param eqref))
+ (tag $e-empty (param))
(func $foo
(nop)
)
@@ -23,11 +23,11 @@
(local $4 i32)
(try $label$3
(do
- (throw $tag$0
+ (throw $e-i32
(i32.const 0)
)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -35,12 +35,12 @@
)
(try $label$6
(do
- (throw $tag$2
+ (throw $e-i32-i64
(i32.const 0)
(i64.const 0)
)
)
- (catch $tag$2
+ (catch $e-i32-i64
(local.set $2
(pop i32 i64)
)
@@ -77,7 +77,7 @@
(do
(br $label$7)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -89,7 +89,7 @@
(do
(nop)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -100,7 +100,7 @@
(call $foo)
(call $bar)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -110,16 +110,16 @@
)
(try $label$19
(do
- (throw $tag$0
+ (throw $e-i32
(i32.const 0)
)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
)
- (catch $tag$1
+ (catch $e-i64
(drop
(pop i64)
)
@@ -127,7 +127,7 @@
)
(try $label$22
(do
- (throw $tag$0
+ (throw $e-i32
(i32.const 0)
)
)
@@ -137,16 +137,16 @@
)
(try $label$25
(do
- (throw $tag$0
+ (throw $e-i32
(i32.const 0)
)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
)
- (catch $tag$1
+ (catch $e-i64
(drop
(pop i64)
)
@@ -160,11 +160,11 @@
(do
(try $label$29
(do
- (throw $tag$0
+ (throw $e-i32
(i32.const 0)
)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -174,7 +174,7 @@
)
)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -182,11 +182,11 @@
(catch_all
(try $label$33
(do
- (throw $tag$0
+ (throw $e-i32
(i32.const 0)
)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -199,7 +199,7 @@
)
(try $label$37
(do
- (throw $tag$0
+ (throw $e-i32
(i32.const 0)
)
)
@@ -271,7 +271,7 @@
(do
(nop)
)
- (catch $tag$4
+ (catch $e-empty
(nop)
)
)
@@ -281,7 +281,7 @@
(do
(call $foo)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -296,7 +296,7 @@
(do
(call $foo)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -316,7 +316,7 @@
(do
(call $foo)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -337,7 +337,7 @@
(do
(call $foo)
)
- (catch $tag$0
+ (catch $e-i32
(drop
(pop i32)
)
@@ -387,8 +387,8 @@
(do
(nop)
)
- (catch $tag$0
- (throw $tag$0
+ (catch $e-i32
+ (throw $e-i32
(if (result i32)
(pop i32)
(i32.const 0)
@@ -401,7 +401,7 @@
(do
(nop)
)
- (catch $tag$3
+ (catch $e-eqref
(drop
(pop eqref)
)
@@ -414,7 +414,7 @@
(block $label$1
(try $label$4
(do
- (throw $tag$0
+ (throw $e-i32
(i32.const 0)
)
)