| 1 |
(module |
| 2 |
(type $ft0 (;0;) (func)) |
| 3 |
(type $ct0 (;1;) (cont $ft0)) |
| 4 |
(type $ft1 (;2;) (func (param f32) (result f64))) |
| 5 |
(type $ct1 (;3;) (cont $ft1)) |
| 6 |
(type $ft2 (;4;) (func (param i64) (result f64))) |
| 7 |
(type $ct2 (;5;) (cont $ft2)) |
| 8 |
(type $ft3 (;6;) (func (param i32) (result f64))) |
| 9 |
(type $ct3 (;7;) (cont $ft3)) |
| 10 |
(type (;8;) (func (param i32) (result i64))) |
| 11 |
(type (;9;) (func (param i64) (result i32))) |
| 12 |
(type (;10;) (func (param (ref $ct1)) (result f64))) |
| 13 |
(type (;11;) (func (result i32 (ref $ct2)))) |
| 14 |
(type (;12;) (func (result i64 (ref $ct3)))) |
| 15 |
(type (;13;) (func (param (ref null $ct0)))) |
| 16 |
(type (;14;) (func (param (ref $ct0)))) |
| 17 |
(type (;15;) (func (param (ref $ct0)) (result (ref $ct0)))) |
| 18 |
(tag $t0 (;0;) (type $ft0)) |
| 19 |
(tag $t1 (;1;) (type $ft0)) |
| 20 |
(tag $t2 (;2;) (type 8) (param i32) (result i64)) |
| 21 |
(tag $t3 (;3;) (type 9) (param i64) (result i32)) |
| 22 |
(func $test0 (;0;) (type 10) (param $x (ref $ct1)) (result f64) |
| 23 |
(block $handler0 (type 11) (result i32 (ref $ct2)) |
| 24 |
(block $handler1 (type 12) (result i64 (ref $ct3)) |
| 25 |
(return |
| 26 |
(resume $ct1 (on $t2 $handler0) (on $t3 $handler1) |
| 27 |
(f32.const 0x1.3ae148p+0 (;=1.23;)) |
| 28 |
(local.get $x)))) |
| 29 |
(unreachable)) |
| 30 |
(unreachable) |
| 31 |
) |
| 32 |
(func $test1 (;1;) (type 10) (param $x (ref $ct1)) (result f64) |
| 33 |
(block $handler0 (type 11) (result i32 (ref $ct2)) |
| 34 |
(block $handler1 (type 11) (result i32 (ref $ct2)) |
| 35 |
(return |
| 36 |
(resume $ct1 (on $t2 $handler0) (on $t2 $handler1) |
| 37 |
(f32.const 0x1.3ae148p+0 (;=1.23;)) |
| 38 |
(local.get $x)))) |
| 39 |
(unreachable)) |
| 40 |
(unreachable) |
| 41 |
) |
| 42 |
(func $test2 (;2;) (type 13) (param $x (ref null $ct0)) |
| 43 |
(resume $ct0 |
| 44 |
(local.get $x)) |
| 45 |
) |
| 46 |
(func $test3 (;3;) (type 14) (param $x (ref $ct0)) |
| 47 |
(block $handler (result (ref null $ct0)) |
| 48 |
(resume $ct0 (on $t0 $handler) |
| 49 |
(local.get $x)) |
| 50 |
(return)) |
| 51 |
(unreachable) |
| 52 |
) |
| 53 |
(func $test4 (;4;) (type 14) (param $x (ref $ct0)) |
| 54 |
(block $handler (result (ref null $ct0)) |
| 55 |
(resume $ct0 (on $t0 $handler) (on $t1 $handler) |
| 56 |
(local.get $x)) |
| 57 |
(return)) |
| 58 |
(unreachable) |
| 59 |
) |
| 60 |
(func $test5 (;5;) (type 14) (param $x (ref $ct0)) |
| 61 |
(local.get $x) |
| 62 |
(block $handler (type 15) (param (ref $ct0)) (result (ref $ct0)) |
| 63 |
(resume $ct0 (on $t0 $handler)) |
| 64 |
(return)) |
| 65 |
(unreachable) |
| 66 |
) |
| 67 |
) |