(module (type (;0;) (func)) (type (;1;) (func (param i32))) (type (;2;) (func (param f32))) (type (;3;) (func (param i64))) (type (;4;) (func (param f64))) (type (;5;) (func (param i32 i32))) (type (;6;) (func (param i32) (result i32))) (tag $e0 (;0;) (type 0)) (tag $e-i32 (;1;) (type 1) (param i32)) (tag $e-f32 (;2;) (type 2) (param f32)) (tag $e-i64 (;3;) (type 3) (param i64)) (tag $e-f64 (;4;) (type 4) (param f64)) (tag $e-i32-i32 (;5;) (type 5) (param i32 i32)) (export "throw-if" (func $throw-if)) (export "throw-param-f32" (func 1)) (export "throw-param-i64" (func 2)) (export "throw-param-f64" (func 3)) (export "test-throw-1-2" (func 5)) (func $throw-if (;0;) (type 6) (param i32) (result i32) local.get 0 i32.const 0 i32.ne if ;; label = @1 throw $e0 end i32.const 0 ) (func (;1;) (type 2) (param f32) local.get 0 throw $e-f32 ) (func (;2;) (type 3) (param i64) local.get 0 throw $e-i64 ) (func (;3;) (type 4) (param f64) local.get 0 throw $e-f64 ) (func $throw-1-2 (;4;) (type 0) i32.const 1 i32.const 2 throw $e-i32-i32 ) (func (;5;) (type 0) try ;; label = @1 call $throw-1-2 catch $e-i32-i32 i32.const 2 i32.ne if ;; label = @2 unreachable end i32.const 1 i32.ne if ;; label = @2 unreachable end end ) )