File tree Expand file tree Collapse file tree
crates/tests/tests/round_trip Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 (type (;1;) (func (param i32)))
3030 (func $f (;0;) (type 0) (result i32)
3131 block (result i32) ;; label = @1
32- try_table (result i32) (catch 0 0 (;@1;) ) ;; label = @2
32+ try_table (result i32) (catch $myTag 0 (;@1;) ) ;; label = @2
3333 i32.const 42
3434 end
3535 end
3636 drop
3737 global.get $errorValue
3838 )
39- (tag (;0;) (type 1) (param i32))
39+ (tag $myTag (;0;) (type 1) (param i32))
4040 (global $errorValue (;0;) (mut i32) i32.const 99)
4141 (export "f" (func $f))
4242;)
Original file line number Diff line number Diff line change 2626 (type (;2;) (func (param i32 i32)))
2727 (func (;0;) (type 0)
2828 block (type 1) (result i32 i32) ;; label = @1
29- try_table (catch 0 0 (;@1;) ) ;; label = @2
29+ try_table (catch $e-i32-i32 0 (;@1;) ) ;; label = @2
3030 call $throw-1-2
3131 end
3232 return
4747 (func $throw-1-2 (;1;) (type 0)
4848 i32.const 1
4949 i32.const 2
50- throw 0
50+ throw $e-i32-i32
5151 )
52- (tag (;0;) (type 2) (param i32 i32))
52+ (tag $e-i32-i32 (;0;) (type 2) (param i32 i32))
5353 (export "test-throw-1-2" (func 0))
5454;)
You can’t perform that action at this time.
0 commit comments