Skip to content

Commit 2d171c9

Browse files
committed
fixup
1 parent c02ea27 commit 2d171c9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

crates/tests/tests/round_trip/gc_exception_handling_with_globals.wat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
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
;)

crates/tests/tests/round_trip/try_table_roundtrip.wat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
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
@@ -47,8 +47,8 @@
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
;)

0 commit comments

Comments
 (0)