diff options
Diffstat (limited to 'test/binaryen.js/exception-handling.js.txt')
-rw-r--r-- | test/binaryen.js/exception-handling.js.txt | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/test/binaryen.js/exception-handling.js.txt b/test/binaryen.js/exception-handling.js.txt index 19861dd21..e7c72e6a7 100644 --- a/test/binaryen.js/exception-handling.js.txt +++ b/test/binaryen.js/exception-handling.js.txt @@ -3,32 +3,22 @@ (type $i32_=>_none (func (param i32))) (event $e (attr 0) (param i32)) (func $test - (local $0 exnref) (try (do (throw $e (i32.const 0) ) ) - (catch - (local.set $0 - (pop exnref) - ) + (catch $e (drop - (block $l (result i32) - (rethrow - (br_on_exn $l $e - (local.get $0) - ) - ) - ) + (pop i32) ) + (rethrow 0) ) ) ) ) getExpressionInfo(throw) = {"id":47,"type":1,"event":"e"} -getExpressionInfo(br_on_exn) = {"id":49,"type":9,"name":"l","event":"e"} -getExpressionInfo(rethrow) = {"id":48,"type":1} -getExpressionInfo(try) = {"id":46,"type":0} +getExpressionInfo(rethrow) = {"id":48,"type":1,"depth":0} +getExpressionInfo(try) = {"id":46,"type":1,"hasCatchAll":0} |