diff options
Diffstat (limited to 'test/exception-handling.wast.fromBinary')
-rw-r--r-- | test/exception-handling.wast.fromBinary | 119 |
1 files changed, 106 insertions, 13 deletions
diff --git a/test/exception-handling.wast.fromBinary b/test/exception-handling.wast.fromBinary index d6dd331b1..89d0bb7fb 100644 --- a/test/exception-handling.wast.fromBinary +++ b/test/exception-handling.wast.fromBinary @@ -194,19 +194,6 @@ ) ) ) - (try $label$37 - (do - (throw $event$0 - (i32.const 0) - ) - ) - (catch $event$0 - (drop - (pop i32) - ) - (rethrow 0) - ) - ) ) (func $delegate-test (try $label$9 @@ -269,5 +256,111 @@ (delegate 0) ) ) + (func $rethrow-test + (try $label$3 + (do + (call $foo) + ) + (catch $event$0 + (drop + (pop i32) + ) + (rethrow $label$3) + ) + (catch_all + (rethrow $label$3) + ) + ) + (block $label$4 + (try $label$7 + (do + (call $foo) + ) + (catch $event$0 + (drop + (pop i32) + ) + (rethrow $label$7) + ) + (catch_all + (br $label$4) + ) + ) + ) + (try $label$13 + (do + (call $foo) + ) + (catch_all + (try $label$12 + (do + (call $foo) + ) + (catch $event$0 + (drop + (pop i32) + ) + (rethrow $label$13) + ) + (catch_all + (rethrow $label$13) + ) + ) + ) + ) + (try $label$20 + (do + (call $foo) + ) + (catch_all + (try $label$19 + (do + (call $foo) + ) + (catch $event$0 + (drop + (pop i32) + ) + (block $label$18 + (rethrow $label$20) + ) + ) + (catch_all + (rethrow $label$20) + ) + ) + ) + ) + (try $label$26 + (do + (call $foo) + ) + (catch_all + (try $label$25 + (do + (rethrow $label$26) + ) + (catch_all + (nop) + ) + ) + ) + ) + (try $label$32 + (do + (call $foo) + ) + (catch_all + (try $label$31 + (do + (rethrow $label$32) + ) + (catch_all + (nop) + ) + ) + ) + ) + ) ) |